Skip to content

Commit

Permalink
fix: typing error
Browse files Browse the repository at this point in the history
  • Loading branch information
AmandaTamanda committed Nov 28, 2024
1 parent aff93aa commit b37781e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/Component/Menu/Navigation/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ export const Navigation: React.FC<NavigationProps> = ({
});
}

if (navigationConf?.settings?.graphiql.visible) {
if (navigationConf?.settings?.graphiql?.visible) {
settingsChildren.push({
key: 'graphiql',
icon:<BranchesOutlined /> ,
Expand All @@ -236,7 +236,7 @@ export const Navigation: React.FC<NavigationProps> = ({
)
});
}
if (navigationConf?.settings?.swagger.visible) {
if (navigationConf?.settings?.swagger?.visible) {
settingsChildren.push({
key: 'swagger',
icon:<ApiOutlined /> ,
Expand Down
3 changes: 0 additions & 3 deletions src/custom.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,6 @@ declare module 'shogunApplicationConfig' {
*/
visible: boolean;
};
/**
* link to external tools for users with admin rights
*/
};
};
}
Expand Down

0 comments on commit b37781e

Please sign in to comment.