Skip to content

Commit

Permalink
fix: include form
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliaghisini committed Apr 9, 2024
1 parent e4d14f5 commit facfa01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/widget/SlimHeaderConfigurationForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ const SlimHeaderConfigurationForm = ({
openObjectBrowser,
}) => {
const intl = useIntl();
console.log(menuItem);

const preventClick = (e) => {
e.preventDefault();
Expand Down
3 changes: 2 additions & 1 deletion src/widget/SlimHeaderConfigurationWidget.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ const defaultMenuItem = (title) => ({
title,
visible: true,
linkUrl: null,
inEvidence: false,
});

const defaultRootMenu = (title) => ({
Expand Down Expand Up @@ -310,7 +311,7 @@ const SlimHeaderConfigurationWidget = ({
activeMenuItem <
menuConfiguration[activeMenu].items?.length ? (
<Component
componentName="SlimHeaderConfigurationWidget"
componentName="SlimHeaderConfigurationForm"
id={`${activeMenu}-${activeMenuItem}`}
menuItem={
menuConfiguration[activeMenu].items[
Expand Down

0 comments on commit facfa01

Please sign in to comment.