Skip to content

Commit 6311d8b

Browse files
committed
restore rest
1 parent 63e996c commit 6311d8b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • x-pack/plugins/security_solution/public/app/home/template_wrapper

x-pack/plugins/security_solution/public/app/home/template_wrapper/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@ export type SecuritySolutionTemplateWrapperProps = Omit<KibanaPageTemplateProps,
5454
};
5555

5656
export 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

0 commit comments

Comments
 (0)