From 7c33555f872c8d11dbb6646f817cd183b11df14e Mon Sep 17 00:00:00 2001 From: Imiss-U1025 Date: Mon, 11 Nov 2024 09:07:57 -0500 Subject: [PATCH] Fixed serveral sidebar issue --- .../lowcoder/src/components/layout/SideBarSection.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/packages/lowcoder/src/components/layout/SideBarSection.tsx b/client/packages/lowcoder/src/components/layout/SideBarSection.tsx index c42028f9d8..e268b32a9d 100644 --- a/client/packages/lowcoder/src/components/layout/SideBarSection.tsx +++ b/client/packages/lowcoder/src/components/layout/SideBarSection.tsx @@ -24,9 +24,9 @@ export const SideBarSection = (props: SideBarSectionProps) => { const user = useSelector(getUser); const applications = useSelector(normalAppListSelector); const currentPath = useLocation().pathname; - + const isShow = props.items.map(item => item.visible ? item.visible({ user: user, applications: applications }) : true).includes(true); return ( - + {props.title} {props.items .filter((item) =>