Skip to content

Commit c4de6d9

Browse files
author
FalkWolsky
committed
Fixing merge errors
1 parent c32959f commit c4de6d9

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

client/packages/lowcoder/src/components/layout/Layout.tsx

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -140,19 +140,6 @@ export function Layout(props: LayoutProps) {
140140

141141
{/* Desktop Layout */}
142142
<AntdLayout>
143-
<SideBarV2
144-
className={CNSidebar}
145-
$bgColor={brandingSettings?.adminSidebarColor}
146-
$fontColor={brandingSettings?.adminSidebarFontColor}
147-
$activeBgColor={brandingSettings?.adminSidebarActiveBgColor}
148-
$activeFontColor={brandingSettings?.adminSidebarActiveFontColor}
149-
>
150-
{props.sections
151-
.filter((section) => section.items.length > 0)
152-
.map((section, index) => (
153-
<SideBarSection key={index} {...section} />
154-
))}
155-
</SideBarV2>
156143
{!isMobile && (
157144
<SideBarV2 className={`${CNSidebar} desktop-only`}>
158145
{desktopSections

client/packages/lowcoder/src/components/layout/SideBarSection.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,6 @@ export const SideBarSection = (props: SideBarSectionProps) => {
4949
}
5050
selectedBgColor={brandingSettings?.adminSidebarActiveBgColor}
5151
selectedFontColor={brandingSettings?.adminSidebarActiveFontColor}
52-
onClick={
53-
item.onClick ??
54-
(() => currentPath !== item.routePath && history.push(item.routePath))
55-
}
5652
onClick={() => {
5753
// Trigger item's onClick if defined
5854
item.onClick

0 commit comments

Comments
 (0)