@@ -23,33 +23,25 @@ import { filtersPanelPopover } from './filtersPanelPopover.js';
2323 * @import LayoutListModel from './model/LayoutListModel.js';
2424 */
2525export default ( layoutListModel ) => [
26- h ( '.scroll-y.absolute-fill' , [
27- h (
28- '.flex-row.text-right.m2' ,
29- [
30- filtersPanelPopover ( layoutListModel . searchFilterModel ) ,
31- h (
32- 'input.form-control.form-inline.mh1.w-33' ,
33- {
34- placeholder : 'Layout name' ,
35- type : 'text' ,
36- value : layoutListModel . searchFilterModel . searchInput ,
37- oninput : ( e ) => {
38- layoutListModel . search ( e . target . value ) ;
39- } ,
40- } ,
41- ) ,
42- h ( '.p1' , [
43- h (
44- '.mh1' ,
45- layoutListModel . searchFilterModel . stringifyActiveFiltersFriendly ( ) ,
46- ) ,
47- ] ) ,
48- ] ,
49- ) ,
50-
51- h ( '' , {
52- style : 'display: flex; flex-direction: column' ,
53- } , Array . from ( layoutListModel . folders . values ( ) ) . map ( FolderComponent ) ) ,
26+ h ( '.flex-row.text-right.m2' , [
27+ filtersPanelPopover ( layoutListModel . searchFilterModel ) ,
28+ h ( 'input.form-control.form-inline.mh1.w-33' , {
29+ placeholder : 'Layout name' ,
30+ type : 'text' ,
31+ value : layoutListModel . searchFilterModel . searchInput ,
32+ oninput : ( e ) => {
33+ layoutListModel . search ( e . target . value ) ;
34+ } ,
35+ } ) ,
36+ h ( '.p1' , [
37+ h (
38+ '.mh1' ,
39+ layoutListModel . searchFilterModel . stringifyActiveFiltersFriendly ( ) ,
40+ ) ,
41+ ] ) ,
5442 ] ) ,
43+
44+ h ( '' , {
45+ key : 'layout-list-page-folders-container' ,
46+ } , Array . from ( layoutListModel . folders . values ( ) ) . map ( FolderComponent ) ) ,
5547] ;
0 commit comments