From 8b96f540dd5b8549f737df74e9d5a8e52ff15c70 Mon Sep 17 00:00:00 2001
From: Remy Raes <raes.remy@gmail.com>
Date: Sat, 24 Sep 2022 22:16:03 +0200
Subject: feat: add a "see patch notes" link to main view

---
 src-vue/src/App.vue | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

(limited to 'src-vue/src/App.vue')

diff --git a/src-vue/src/App.vue b/src-vue/src/App.vue
index c8069bca..b97e9ef4 100644
--- a/src-vue/src/App.vue
+++ b/src-vue/src/App.vue
@@ -25,18 +25,18 @@ export default {
 </script>
 
 <template>
-  <div id="fc_bg__container" data-tauri-drag-region />
-  <el-tabs class="fc_menu__tabs" type="card">
-    <el-tab-pane label="Play"><PlayView /></el-tab-pane>
-    <el-tab-pane label="Changelog">Changelog</el-tab-pane>
-    <!-- <el-tab-pane label="Mods">Mods</el-tab-pane> -->
-    <el-tab-pane label="Settings">Settings</el-tab-pane>
-    <el-tab-pane v-if="$store.state.developer_mode" label="Dev">Developer tools</el-tab-pane>
-  </el-tabs>
-  <div id="fc_window__controls">
-    <el-button color="white" icon="SemiSelect" @click="minimize" circle />
-    <el-button color="white" icon="CloseBold" @click="close" circle />
-  </div>
+    <div id="fc_bg__container" data-tauri-drag-region />
+    <el-tabs v-model="$store.state.current_tab" class="fc_menu__tabs" type="card">
+        <el-tab-pane name="Play" label="Play"><PlayView /></el-tab-pane>
+        <el-tab-pane name="Changelog" label="Changelog">Changelog</el-tab-pane>
+        <!-- <el-tab-pane label="Mods">Mods</el-tab-pane> -->
+        <el-tab-pane name="Settings" label="Settings">Settings</el-tab-pane>
+        <el-tab-pane v-if="$store.state.developer_mode" name="Dev" label="Dev">Developer tools</el-tab-pane>
+    </el-tabs>
+    <div id="fc_window__controls">
+        <el-button color="white" icon="SemiSelect" @click="minimize" circle />
+        <el-button color="white" icon="CloseBold" @click="close" circle />
+    </div>
 </template>
 
 <style>
-- 
cgit v1.2.3

