aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src-vue/src/App.vue12
1 files changed, 10 insertions, 2 deletions
diff --git a/src-vue/src/App.vue b/src-vue/src/App.vue
index 06499058..239aa256 100644
--- a/src-vue/src/App.vue
+++ b/src-vue/src/App.vue
@@ -12,6 +12,14 @@ export default {
},
mounted: () => {
store.commit('initializeListeners');
+ },
+ methods: {
+ minimize() {
+ appWindow.minimize()
+ },
+ close() {
+ appWindow.close()
+ }
}
}
</script>
@@ -25,8 +33,8 @@ export default {
<el-tab-pane label="Settings">Settings</el-tab-pane>
</el-tabs>
<div id="fc_window__controls">
- <el-button color="white" icon="SemiSelect" @click="appWindow.minimize()" circle />
- <el-button color="white" icon="CloseBold" @click="appWindow.close()" circle />
+ <el-button color="white" icon="SemiSelect" @click="minimize" circle />
+ <el-button color="white" icon="CloseBold" @click="close" circle />
</div>
</template>