Skip to content

Commit

Permalink
fix: hide theme switch from app header
Browse files Browse the repository at this point in the history
  • Loading branch information
daniele-mng committed Sep 30, 2024
1 parent 1f78c72 commit 6301c72
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 18 deletions.
34 changes: 17 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"node": ">=18.0"
},
"dependencies": {
"@greenbone/opensight-ui-components": "^0.4.1-alpha1",
"@greenbone/opensight-ui-components": "^0.4.1-alpha6",
"@mantine/core": "^6.0.0",
"@reduxjs/toolkit": "^2.2.7",
"@sentry/react": "^8.28.0",
Expand Down
1 change: 1 addition & 0 deletions src/web/components/structure/header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ const Header = () => {
sessionTimer={<SessionTimer />}
username={username}
logoLink="/dashboards"
isThemeSwitchVisible={false}

Check warning on line 72 in src/web/components/structure/header.jsx

View check run for this annotation

Codecov / codecov/patch

src/web/components/structure/header.jsx#L71-L72

Added lines #L71 - L72 were not covered by tests
/>
);
};
Expand Down

0 comments on commit 6301c72

Please sign in to comment.