diff options
Diffstat (limited to 'src-vue/src')
-rw-r--r-- | src-vue/src/components/PlayButton.vue | 3 | ||||
-rw-r--r-- | src-vue/src/utils/ReleaseCanal.ts | 4 |
2 files changed, 3 insertions, 4 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)] } }); } diff --git a/src-vue/src/utils/ReleaseCanal.ts b/src-vue/src/utils/ReleaseCanal.ts index ca1ba8a5..9363aa25 100644 --- a/src-vue/src/utils/ReleaseCanal.ts +++ b/src-vue/src/utils/ReleaseCanal.ts @@ -1,4 +1,4 @@ export enum ReleaseCanal { - RELEASE = 'Northstar', - RELEASE_CANDIDATE = 'NorthstarReleaseCandidate' + RELEASE = <any>'Northstar', + RELEASE_CANDIDATE = <any>'NorthstarReleaseCandidate' } |