This commit is contained in:
ThatOneCalculator 2023-01-03 18:03:45 -08:00
parent 65ee08c048
commit aed70a05c8
No known key found for this signature in database
GPG Key ID: 8703CACD01000000
2 changed files with 8 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "calckey",
"version": "13.0.8.3",
"version": "13.0.8.4",
"codename": "aqua",
"repository": {
"type": "git",

View File

@ -23,8 +23,13 @@ import { version } from '@/config';
import { i18n } from '@/i18n';
import * as os from '@/os';
const data = await os.api('release');
const newRelease = (version === data.version);
let newRelease = false;
let data;
os.api('latest-version').then(res => {
data = res;
newRelease = (version === data?.version);
});
</script>
<style lang="scss" scoped>