diff options
author | Rémy Raes <contact@remyraes.com> | 2023-01-29 13:28:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-29 13:28:32 +0100 |
commit | 31b32c725ce4f47a6726cb0d8ef5f21ec6030580 (patch) | |
tree | 926c7f1e6af48b92478d0ea9b9f57ee50a8668c2 | |
parent | a69d79bb4be922faebd3b43fe2fd6d14d916ed16 (diff) | |
download | FlightCore-31b32c725ce4f47a6726cb0d8ef5f21ec6030580.tar.gz FlightCore-31b32c725ce4f47a6726cb0d8ef5f21ec6030580.zip |
fix: Set current route as menu active item (#149)
fix: set current route as menu active item
-rw-r--r-- | src-vue/src/App.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src-vue/src/App.vue b/src-vue/src/App.vue index 0ecea16d..c28919e1 100644 --- a/src-vue/src/App.vue +++ b/src-vue/src/App.vue @@ -50,7 +50,7 @@ export default { <nav id="fc_menu-bar"> <!-- Navigation items --> <el-menu - default-active="/" + :default-active="$route.path" router mode="horizontal" id="fc__menu_items" |