Skip to content

Commit

Permalink
undock menu on page load
Browse files Browse the repository at this point in the history
Signed-off-by: bingshen.wbs <[email protected]>
  • Loading branch information
BSWANG committed Mar 27, 2024
1 parent 8e008bc commit 4321cac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webui/src/pages/monitoring/dashboard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export default function Dashboard() {
dashboardConfigDispatcher.fetchDashboardConfig()
.then(() => {
localStorage.setItem("SearchBar_Hidden", "true")
localStorage.setItem("grafana.navigation.docked", "false")
if(effectsState.fetchDashboardConfig.error) {
Message.error(`Error when fetching dashboard config: ${effectsState.fetchDashboardConfig.error.response.data.error}`)
}
Expand Down

0 comments on commit 4321cac

Please sign in to comment.