mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +01:00
fix?
This commit is contained in:
parent
379972e18c
commit
773abc1ba3
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "calckey",
|
||||
"version": "13.0.8.3",
|
||||
"version": "13.0.8.4",
|
||||
"codename": "aqua",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user