diff --git a/src/Component/Menu/Navigation/Navigation.tsx b/src/Component/Menu/Navigation/Navigation.tsx index 20d5fc18..719eed28 100644 --- a/src/Component/Menu/Navigation/Navigation.tsx +++ b/src/Component/Menu/Navigation/Navigation.tsx @@ -223,7 +223,7 @@ export const Navigation: React.FC = ({ }); } - if (navigationConf?.settings?.graphiql.visible) { + if (navigationConf?.settings?.graphiql?.visible) { settingsChildren.push({ key: 'graphiql', icon: , @@ -236,7 +236,7 @@ export const Navigation: React.FC = ({ ) }); } - if (navigationConf?.settings?.swagger.visible) { + if (navigationConf?.settings?.swagger?.visible) { settingsChildren.push({ key: 'swagger', icon: , diff --git a/src/custom.d.ts b/src/custom.d.ts index 1b40116b..463153b5 100644 --- a/src/custom.d.ts +++ b/src/custom.d.ts @@ -223,9 +223,6 @@ declare module 'shogunApplicationConfig' { */ visible: boolean; }; - /** - * link to external tools for users with admin rights - */ }; }; }