File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
client/packages/lowcoder/src/pages/ApplicationV2 Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -340,6 +340,8 @@ export function HomeLayout(props: HomeLayoutProps) {
340
340
modify
341
341
342
342
} = props ;
343
+
344
+
343
345
const handlePageChange = ( page : number ) => {
344
346
setCurrentPage ( page ) ;
345
347
} ;
@@ -431,15 +433,6 @@ export function HomeLayout(props: HomeLayoutProps) {
431
433
}
432
434
return true ;
433
435
} )
434
- . filter ( ( e ) => {
435
- // If "All" is selected, do not filter out any elements based on category
436
- if ( categoryFilter === 'All' || ! categoryFilter ) {
437
- return true ;
438
- }
439
- // Otherwise, filter elements based on the selected category
440
- return ! e . folder && e . category === categoryFilter . toString ( ) ;
441
- } )
442
-
443
436
. map ( ( e ) =>
444
437
e . folder
445
438
? {
@@ -471,7 +464,6 @@ export function HomeLayout(props: HomeLayoutProps) {
471
464
}
472
465
) ;
473
466
474
-
475
467
const getFilterMenuItem = ( type : HomeResTypeEnum ) => {
476
468
const Icon = HomeResInfo [ type ] . icon ;
477
469
return {
You can’t perform that action at this time.
0 commit comments