From facfa019e2459bc0286c95c850a4676e5d84e846 Mon Sep 17 00:00:00 2001 From: Giulia Ghisini Date: Tue, 9 Apr 2024 15:11:20 +0200 Subject: [PATCH] fix: include form --- src/widget/SlimHeaderConfigurationForm.jsx | 1 + src/widget/SlimHeaderConfigurationWidget.jsx | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/widget/SlimHeaderConfigurationForm.jsx b/src/widget/SlimHeaderConfigurationForm.jsx index 77b278e..c6b612b 100644 --- a/src/widget/SlimHeaderConfigurationForm.jsx +++ b/src/widget/SlimHeaderConfigurationForm.jsx @@ -44,6 +44,7 @@ const SlimHeaderConfigurationForm = ({ openObjectBrowser, }) => { const intl = useIntl(); + console.log(menuItem); const preventClick = (e) => { e.preventDefault(); diff --git a/src/widget/SlimHeaderConfigurationWidget.jsx b/src/widget/SlimHeaderConfigurationWidget.jsx index eb2d84a..27dd2a6 100644 --- a/src/widget/SlimHeaderConfigurationWidget.jsx +++ b/src/widget/SlimHeaderConfigurationWidget.jsx @@ -57,6 +57,7 @@ const defaultMenuItem = (title) => ({ title, visible: true, linkUrl: null, + inEvidence: false, }); const defaultRootMenu = (title) => ({ @@ -310,7 +311,7 @@ const SlimHeaderConfigurationWidget = ({ activeMenuItem < menuConfiguration[activeMenu].items?.length ? (