diff options
author | Remy Raes <raes.remy@gmail.com> | 2022-10-02 22:35:14 +0200 |
---|---|---|
committer | Remy Raes <raes.remy@gmail.com> | 2022-10-02 22:35:14 +0200 |
commit | 7a5ce8683993d056b68b52bfb9b37d09b7e71d2b (patch) | |
tree | 1c2177e33eecaf49abebff70cd1b674cebdbe06b /src-vue/src/views/DeveloperView.vue | |
parent | 22a7bd16852498a95f9733e228e126a644b9c3ed (diff) | |
download | FlightCore-7a5ce8683993d056b68b52bfb9b37d09b7e71d2b.tar.gz FlightCore-7a5ce8683993d056b68b52bfb9b37d09b7e71d2b.zip |
fix: store is now typed
Diffstat (limited to 'src-vue/src/views/DeveloperView.vue')
-rw-r--r-- | src-vue/src/views/DeveloperView.vue | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src-vue/src/views/DeveloperView.vue b/src-vue/src/views/DeveloperView.vue index 8dcc9608..bfb206a2 100644 --- a/src-vue/src/views/DeveloperView.vue +++ b/src-vue/src/views/DeveloperView.vue @@ -7,14 +7,16 @@ </template> <script lang="ts"> -export default { +import {defineComponent} from "vue"; + +export default defineComponent({ name: "DeveloperView", methods: { disableDevMode() { this.$store.commit('toggleDeveloperMode'); } } -} +}); </script> <style scoped> |