Skip to content

Commit

Permalink
settings nav notifications + snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
ronronscelestes committed Mar 8, 2022
1 parent 1cb4307 commit 645e445
Show file tree
Hide file tree
Showing 3 changed files with 638 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/core/admin/admin/src/hooks/useSettingsMenu/init.js
Expand Up @@ -10,7 +10,7 @@ const init = (initialState, { settings, shouldUpdateStrapi }) => {
// Sort the links by name
const sortedGlobalLinks = sortLinks([...pluginsGlobalLinks, ...globalLinks]).map(link => ({
...link,
hasNotification: link.id === 'application-infos' && shouldUpdateStrapi,
hasNotification: link.id === '000-application-infos' && shouldUpdateStrapi,
}));

const otherSections = Object.values(omit(settings, 'global'));
Expand All @@ -25,7 +25,7 @@ const init = (initialState, { settings, shouldUpdateStrapi }) => {
intlLabel: { id: 'Settings.permissions', defaultMessage: 'Administration Panel' },
links: [
{
intlLabel: { id: 'Settings.permissions.menu.link.roles.label' },
intlLabel: { id: 'Settings.permissions.menu.link.roles.label', defaultMessage: 'Roles' },
to: '/settings/roles',
id: 'roles',
isDisplayed: false,
Expand Down
Expand Up @@ -29,7 +29,10 @@ const SettingsNav = ({ menu }) => {
};
});

const label = formatMessage({ id: 'app.components.LeftMenuLinkContainer.settings' });
const label = formatMessage({
id: 'app.components.LeftMenuLinkContainer.settings',
defaultMessage: 'Settings',
});

return (
<SubNav ariaLabel={label}>
Expand Down

0 comments on commit 645e445

Please sign in to comment.