diff --git a/packages/client/src/components/MkUpdated.vue b/packages/client/src/components/MkUpdated.vue index 992610381..bd8882195 100644 --- a/packages/client/src/components/MkUpdated.vue +++ b/packages/client/src/components/MkUpdated.vue @@ -5,9 +5,9 @@
✨ {{ version }} 🚀
- +
{{ i18n.ts.gotIt }} @@ -24,8 +24,9 @@ import * as os from '@/os'; const modal = $ref>(); -let newRelease = false; -let data; +let newRelease = $ref(false); +let data = $ref(Object); + os.api('release').then(res => { data = res; newRelease = (version === data?.version);