@@ -54,7 +54,7 @@ function MenuBar({activeOrganizationId, changeOrganizationCallback, showOrganiza
5454 const [ organizations , setOrganizations ] = useState ( [ ] )
5555 const [ deliverContentsJobStatus , setDeliverContentsJobStatus ] = useState ( null )
5656 const [ chip , setChip ] = useState ( null )
57- const { localeMessages, isPlatformAdmin, isOrganizationAdmin, direction, apiBaseUrl, platformBaseUrl } = useAppContext ( ) ;
57+ const { localeMessages, isPlatformAdmin, isOrganizationAdmin, direction, apiBaseUrl, platformBaseUrl, sidebarCustomComponent } = useAppContext ( ) ;
5858
5959 const theme = useTheme ( ) ;
6060 const isMdUpScreen = useMediaQuery ( theme . breakpoints . up ( 'md' ) ) ;
@@ -166,7 +166,7 @@ function MenuBar({activeOrganizationId, changeOrganizationCallback, showOrganiza
166166 </ Box >
167167 </ AppBar >
168168 < Drawer anchor = { direction === 'rtl' ? 'right' : 'left' } variant = { drawerVariant } onClose = { toggleMenuDrawer ( false ) } display = { { md : "none" } } open = { menuOpen } sx = { { '& .MuiDrawer-paper' : { boxSizing : 'border-box' , width : drawerWidth } } }
169- slotProps = { { backdrop : { sx : { backgroundColor : 'rgba(251, 251, 255, 0.57)' , backdropFilter : 'blur(5px)' } } , paper : { sx : { boxShadow : '2px 0px 8px rgba(0, 0, 0, 0.1)' } } } } >
169+ slotProps = { { backdrop : { sx : { backgroundColor : 'rgba(251, 251, 255, 0.57)' , backdropFilter : 'blur(5px)' } } , paper : { sx : { borderRadius : 0 , boxShadow : '2px 0px 8px rgba(0, 0, 0, 0.1)' } } } } >
170170 < Box my = { 2 } textAlign = "center" >
171171 < img src = { logoVerticalUrl } alt = "Logo" style = { { width : "50%" } } />
172172 </ Box >
@@ -185,6 +185,7 @@ function MenuBar({activeOrganizationId, changeOrganizationCallback, showOrganiza
185185 </ MenuItem >
186186 ) ) }
187187 </ MenuList >
188+ { sidebarCustomComponent && < Box sx = { { height : "100px" , width : "100%" } } dangerouslySetInnerHTML = { { __html : sidebarCustomComponent . componentTag } } /> }
188189 </ Drawer >
189190 </ Box > )
190191}
0 commit comments