From 6b6fcc8d6f9837d1740d29506b0099d666bfbb85 Mon Sep 17 00:00:00 2001 From: fraxken Date: Sat, 7 Dec 2024 11:03:19 +0100 Subject: [PATCH] fix: bug with searchbar display: none --- public/components/searchbar/searchbar.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/components/searchbar/searchbar.js b/public/components/searchbar/searchbar.js index b2568551..3053191d 100644 --- a/public/components/searchbar/searchbar.js +++ b/public/components/searchbar/searchbar.js @@ -310,6 +310,10 @@ export class SearchBar { self.focusNodeById(this.getAttribute("data-value")); }); } + + if (window.navigation.getAnchor() !== "network--view") { + this.container.style.display = "none"; + } } addNewSearchText(filterName, searchedValue) {