aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src/App.vue
diff options
context:
space:
mode:
authorRemy Raes <raes.remy@gmail.com>2022-10-20 02:15:08 +0200
committerRemy Raes <raes.remy@gmail.com>2022-10-20 02:15:08 +0200
commita336c03cc80f2e2848de32aa8fb979abc9538993 (patch)
tree2ad608f2ef5251bb1a14da64c621ab09bc69a101 /src-vue/src/App.vue
parent0834704abcdf84d819b9d1273dec72d892e3dc61 (diff)
downloadFlightCore-a336c03cc80f2e2848de32aa8fb979abc9538993.tar.gz
FlightCore-a336c03cc80f2e2848de32aa8fb979abc9538993.zip
fix: display dev button only when dev mode is enabled
Diffstat (limited to 'src-vue/src/App.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 be76ec1d..6f9542fa 100644
--- a/src-vue/src/App.vue
+++ b/src-vue/src/App.vue
@@ -50,7 +50,7 @@ export default {
<el-menu-item active index="/">Play</el-menu-item>
<el-menu-item index="/changelog">Changelog</el-menu-item>
<el-menu-item index="/settings">Settings</el-menu-item>
- <el-menu-item index="/dev">Dev</el-menu-item>
+ <el-menu-item index="/dev" v-if="$store.state.developer_mode">Dev</el-menu-item>
</el-menu>
<router-view></router-view>