File tree Expand file tree Collapse file tree 2 files changed +0
-17
lines changed
client/packages/lowcoder/src/components/layout Expand file tree Collapse file tree 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) {
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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments