File tree 2 files changed +0
-17
lines changed
client/packages/lowcoder/src/components/layout
2 files changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -140,19 +140,6 @@ export function Layout(props: LayoutProps) {
140
140
141
141
{ /* Desktop Layout */ }
142
142
< 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 >
156
143
{ ! isMobile && (
157
144
< SideBarV2 className = { `${ CNSidebar } desktop-only` } >
158
145
{ desktopSections
Original file line number Diff line number Diff line change @@ -49,10 +49,6 @@ export const SideBarSection = (props: SideBarSectionProps) => {
49
49
}
50
50
selectedBgColor = { brandingSettings ?. adminSidebarActiveBgColor }
51
51
selectedFontColor = { brandingSettings ?. adminSidebarActiveFontColor }
52
- onClick = {
53
- item . onClick ??
54
- ( ( ) => currentPath !== item . routePath && history . push ( item . routePath ) )
55
- }
56
52
onClick = { ( ) => {
57
53
// Trigger item's onClick if defined
58
54
item . onClick
You can’t perform that action at this time.
0 commit comments