diff --git a/CHANGELOG.md b/CHANGELOG.md index 62fb25650..3ecc4b825 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,3 +6,4 @@ All notable, unreleased changes to this project will be documented in this file. - Add changelog and github issue/PR templates - #97 by @dominik-zeglen - Update dependencies to suppress storybook build errors - #98 by @dominik-zeglen +- Fix configure menu section - #109 by @benekex2 diff --git a/src/components/AppLayout/MenuList.tsx b/src/components/AppLayout/MenuList.tsx index 5fbd4df02..82fbce2e4 100644 --- a/src/components/AppLayout/MenuList.tsx +++ b/src/components/AppLayout/MenuList.tsx @@ -307,7 +307,7 @@ const MenuList = withStyles(styles, { name: "MenuList" })( onMenuItemClick(configurationMenuUrl, event)} + onClick={event => closeSubMenu(configurationMenuUrl, event)} >
- {i18n.t("Configure")} + {i18n.t("Configuration")}
diff --git a/src/configuration/ConfigurationPage.tsx b/src/configuration/ConfigurationPage.tsx index 48463ae22..96bc27649 100644 --- a/src/configuration/ConfigurationPage.tsx +++ b/src/configuration/ConfigurationPage.tsx @@ -78,7 +78,7 @@ export const ConfigurationPage = withStyles(styles, { name: "ConfigurationPage" })(({ classes, menu, user, onSectionClick }: ConfigurationPageProps) => ( - +
{menu .filter(menuItem => diff --git a/src/storybook/__snapshots__/Stories.test.ts.snap b/src/storybook/__snapshots__/Stories.test.ts.snap index f8eba83b1..c0f2853af 100644 --- a/src/storybook/__snapshots__/Stories.test.ts.snap +++ b/src/storybook/__snapshots__/Stories.test.ts.snap @@ -25807,7 +25807,7 @@ exports[`Storyshots Views / Configuration default 1`] = `
- Configure + Configuration
- Configure + Configuration