aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src/components
diff options
context:
space:
mode:
authorAlystrasz <contact@remyraes.com>2022-10-03 21:41:49 +0200
committerAlystrasz <contact@remyraes.com>2022-10-03 21:41:49 +0200
commit02127ed8793e5344c28fa9c7c2c16c7a0b3f3ae9 (patch)
tree133b53e8984943ec1a4ccba79608e3f804c339bf /src-vue/src/components
parentc009cbe313e29b660e8776fa2c4d82eb5195edbc (diff)
downloadFlightCore-02127ed8793e5344c28fa9c7c2c16c7a0b3f3ae9.tar.gz
FlightCore-02127ed8793e5344c28fa9c7c2c16c7a0b3f3ae9.zip
fix: address options() typing issue
Diffstat (limited to 'src-vue/src/components')
-rw-r--r--src-vue/src/components/PlayButton.vue3
1 files changed, 1 insertions, 2 deletions
diff --git a/src-vue/src/components/PlayButton.vue b/src-vue/src/components/PlayButton.vue
index e2ee2bcc..8e0b4149 100644
--- a/src-vue/src/components/PlayButton.vue
+++ b/src-vue/src/components/PlayButton.vue
@@ -36,8 +36,7 @@ export default defineComponent({
return Object.keys(ReleaseCanal).map(function (v) {
return {
key: v,
- // @ts-ignore
- value: ReleaseCanal[v]
+ value: Object.keys(ReleaseCanal)[Object.values(ReleaseCanal).indexOf(v)]
}
});
}