From a81273038cb8097b642e05f487538a365379163a Mon Sep 17 00:00:00 2001 From: Miu Razvan Date: Sun, 11 Oct 2020 14:53:03 +0300 Subject: [PATCH] Fix navigation block --- src/components/manage/Blocks/NavigationBlock/View.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/manage/Blocks/NavigationBlock/View.jsx b/src/components/manage/Blocks/NavigationBlock/View.jsx index fd2aa15..8be1afc 100644 --- a/src/components/manage/Blocks/NavigationBlock/View.jsx +++ b/src/components/manage/Blocks/NavigationBlock/View.jsx @@ -51,7 +51,7 @@ const View = ({ content, ...props }) => { const url = getBasePath(item.url); const name = item.title; if ( - props.navigation.items.filter( + props.navigation?.items?.filter( (navItem) => navItem.title === item.title, ).length ) {