aboutsummaryrefslogtreecommitdiff
path: root/src-vue
diff options
context:
space:
mode:
authorRémy Raes <contact@remyraes.com>2023-01-29 13:28:32 +0100
committerGitHub <noreply@github.com>2023-01-29 13:28:32 +0100
commit31b32c725ce4f47a6726cb0d8ef5f21ec6030580 (patch)
tree926c7f1e6af48b92478d0ea9b9f57ee50a8668c2 /src-vue
parenta69d79bb4be922faebd3b43fe2fd6d14d916ed16 (diff)
downloadFlightCore-31b32c725ce4f47a6726cb0d8ef5f21ec6030580.tar.gz
FlightCore-31b32c725ce4f47a6726cb0d8ef5f21ec6030580.zip
fix: Set current route as menu active item (#149)
fix: set current route as menu active item
Diffstat (limited to 'src-vue')
-rw-r--r--src-vue/src/App.vue2
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"