aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src/views
diff options
context:
space:
mode:
authorRemy Raes <raes.remy@gmail.com>2022-10-02 22:28:27 +0200
committerRemy Raes <raes.remy@gmail.com>2022-10-02 22:28:27 +0200
commit22a7bd16852498a95f9733e228e126a644b9c3ed (patch)
treed46655565553a58c358a7ed62080d6a2202cf60f /src-vue/src/views
parent8b1acb0af3a31260ac3357ede22ba737c1a96f86 (diff)
downloadFlightCore-22a7bd16852498a95f9733e228e126a644b9c3ed.tar.gz
FlightCore-22a7bd16852498a95f9733e228e126a644b9c3ed.zip
refactor: type issues
Diffstat (limited to 'src-vue/src/views')
-rw-r--r--src-vue/src/views/PlayView.vue5
-rw-r--r--src-vue/src/views/SettingsView.vue2
2 files changed, 4 insertions, 3 deletions
diff --git a/src-vue/src/views/PlayView.vue b/src-vue/src/views/PlayView.vue
index 3ca47e22..64779f6a 100644
--- a/src-vue/src/views/PlayView.vue
+++ b/src-vue/src/views/PlayView.vue
@@ -2,8 +2,9 @@
import { ElNotification } from 'element-plus';
import {Tabs} from "../utils/Tabs";
import PlayButton from '../components/PlayButton.vue';
+import { defineComponent } from "vue";
-export default {
+export default defineComponent({
data() {
return {
developerModeClicks: 0
@@ -39,7 +40,7 @@ export default {
this.$store.commit('updateCurrentTab', Tabs.CHANGELOG);
}
}
-};
+});
</script>
<template>
diff --git a/src-vue/src/views/SettingsView.vue b/src-vue/src/views/SettingsView.vue
index da81dc8a..e0ffc026 100644
--- a/src-vue/src/views/SettingsView.vue
+++ b/src-vue/src/views/SettingsView.vue
@@ -26,7 +26,7 @@ export default {
}
},
mounted() {
- document.querySelector('input').disabled = true;
+ document.querySelector('input')!.disabled = true;
}
}
</script>