diff options
author | Remy Raes <raes.remy@gmail.com> | 2022-09-24 17:28:19 +0200 |
---|---|---|
committer | Remy Raes <raes.remy@gmail.com> | 2022-09-24 17:28:19 +0200 |
commit | f63550c030237729556be053750a52c033cd5926 (patch) | |
tree | 4b353f12b0b94646c06c431fcbc8f2902ac79657 /src-vue/src/App.vue | |
parent | 9635801759facbfdc3c033f70a64ae4635be19f6 (diff) | |
download | FlightCore-f63550c030237729556be053750a52c033cd5926.tar.gz FlightCore-f63550c030237729556be053750a52c033cd5926.zip |
fix: restore window controls
Diffstat (limited to 'src-vue/src/App.vue')
-rw-r--r-- | src-vue/src/App.vue | 12 |
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> |