aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src/App.vue
diff options
context:
space:
mode:
authorGeckoEidechse <gecko.eidechse+git@pm.me>2024-07-15 16:51:20 +0200
committerGeckoEidechse <gecko.eidechse+git@pm.me>2024-07-15 16:51:20 +0200
commit9ee553ef23cb86b2fcdf7879149c833c81fa8fb5 (patch)
tree9a4cf72784dbfbdccea82d0781c6e0028f63bed8 /src-vue/src/App.vue
parent3ce94cde959df602fc2ed9fc42d24edf24efe7a4 (diff)
downloadFlightCore-9ee553ef23cb86b2fcdf7879149c833c81fa8fb5.tar.gz
FlightCore-9ee553ef23cb86b2fcdf7879149c833c81fa8fb5.zip
feat: Change repair window to tab
Diffstat (limited to 'src-vue/src/App.vue')
-rw-r--r--src-vue/src/App.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/src-vue/src/App.vue b/src-vue/src/App.vue
index 162b0b34..3a1eec8d 100644
--- a/src-vue/src/App.vue
+++ b/src-vue/src/App.vue
@@ -57,7 +57,7 @@ export default {
<div class="app-inner">
<div id="fc_bg__container" :style="bgStyle"/>
- <nav id="fc_menu-bar" v-if="$route.path !== '/repair'"><!-- Hide menu bar in repair view -->
+ <nav id="fc_menu-bar">
<!-- Navigation items -->
<el-menu
:default-active="$route.path"
@@ -70,6 +70,7 @@ export default {
<el-menu-item index="/changelog">{{ $t('menu.changelog') }}</el-menu-item>
<el-menu-item index="/mods">{{ $t('menu.mods') }}</el-menu-item>
<el-menu-item index="/settings">{{ $t('menu.settings') }}</el-menu-item>
+ <el-menu-item index="/repair" v-if="$store.state.repair_view_visible">{{ $t('menu.repair') }}</el-menu-item>
<el-menu-item index="/dev" v-if="$store.state.developer_mode">{{ $t('menu.dev') }}</el-menu-item>
</el-menu>