Skip to content

Commit

Permalink
feat: add dashboard to selected menu key (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
love98ooo authored Sep 28, 2024
1 parent 92a0dc8 commit 8b6f4f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ class App extends Component {
});
if (uri === "/") {
this.setState({selectedMenuKey: "/"});
} else if (uri.includes("/dashboard")) {
this.setState({selectedMenuKey: "/dashboard"});
} else if (uri.includes("/sites")) {
this.setState({selectedMenuKey: "/sites"});
} else if (uri.includes("/certs")) {
Expand Down

0 comments on commit 8b6f4f7

Please sign in to comment.