Skip to content
Snippets Groups Projects
Unverified Commit 7c63c81a authored by Anton Kulyk's avatar Anton Kulyk Committed by GitHub
Browse files

Hide navbar in fullscreen dashboard (#22278)

parent c218884d
No related branches found
No related tags found
No related merge requests found
......@@ -186,13 +186,10 @@ export default ComposedComponent =>
// when _showNav is called for the first time
if (window.document) {
const nav = window.document.querySelector(".Nav");
const appBar = window.document.querySelector("#root > header");
if (show && nav && appBar) {
if (show && nav) {
nav.classList.remove("hide");
appBar.classList.remove("hide");
} else if (!show && nav && appBar) {
} else if (!show && nav) {
nav.classList.add("hide");
appBar.classList.add("hide");
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment