File tree Expand file tree Collapse file tree
x-pack/plugins/security_solution/public/app/home/template_wrapper Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,15 +54,15 @@ export type SecuritySolutionTemplateWrapperProps = Omit<KibanaPageTemplateProps,
5454} ;
5555
5656export const SecuritySolutionTemplateWrapper : React . FC < SecuritySolutionTemplateWrapperProps > =
57- React . memo ( ( { children, isEmptyState , ...rest } ) => {
57+ React . memo ( ( { children, ...rest } ) => {
5858 const solutionNavProps = useSecuritySolutionNavigation ( ) ;
5959 const [ isTimelineBottomBarVisible ] = useShowTimeline ( ) ;
6060 const getTimelineShowStatus = useMemo ( ( ) => getTimelineShowStatusByIdSelector ( ) , [ ] ) ;
6161 const { show : isShowingTimelineOverlay } = useDeepEqualSelector ( ( state ) =>
6262 getTimelineShowStatus ( state , TimelineId . active )
6363 ) ;
6464 const [ routeProps ] = useRouteSpy ( ) ;
65- const isNotEmpty = ! isEmptyState ;
65+ const isNotEmpty = ! rest . isEmptyState ;
6666 const isPreview = routeProps ?. pageName === SecurityPageName . rulesCreate ;
6767
6868 // The bottomBar by default has a set 'dark' colorMode that doesn't match the global colorMode from the Advanced Settings
You can’t perform that action at this time.
0 commit comments