aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src/App.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src-vue/src/App.vue')
-rw-r--r--src-vue/src/App.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/src-vue/src/App.vue b/src-vue/src/App.vue
index c28919e1..f740bd2f 100644
--- a/src-vue/src/App.vue
+++ b/src-vue/src/App.vue
@@ -6,7 +6,7 @@ import ModsView from './views/ModsView.vue';
import SettingsView from './views/SettingsView.vue';
import { appWindow } from '@tauri-apps/api/window';
import { store } from './plugins/store';
-import { window as tauriWindow } from "@tauri-apps/api";
+import { invoke, window as tauriWindow } from "@tauri-apps/api";
export default {
components: {
@@ -30,7 +30,7 @@ export default {
appWindow.minimize()
},
close() {
- appWindow.close()
+ invoke("close_application");
}
},
computed: {
@@ -47,7 +47,7 @@ export default {
<div class="app-inner">
<div id="fc_bg__container" :style="bgStyle"/>
- <nav id="fc_menu-bar">
+ <nav id="fc_menu-bar" v-if="$route.path !== '/repair'"><!-- Hide menu bar in repair view -->
<!-- Navigation items -->
<el-menu
:default-active="$route.path"