This commit is contained in:
ThatOneCalculator 2023-01-03 18:31:27 -08:00
parent 83e9c10646
commit 6144650f9d
No known key found for this signature in database
GPG Key ID: 8703CACD01000000
2 changed files with 6 additions and 5 deletions

View File

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

View File

@ -1,16 +1,15 @@
<template>
<MkModal ref="modal" :z-priority="'middle'" @click="$refs.modal.close()" @closed="$emit('closed')">
<MkModal ref="modal" :z-priority="'middle'" @click="modal.close()" @closed="$emit('closed')">
<div class="ewlycnyt">
<div class="title"><MkSparkle>{{ i18n.ts.misskeyUpdated }}</MkSparkle></div>
<div class="version"> {{ version }} 🚀</div>
<!-- v-if="newRelease" -->
<div class="releaseNotes">
<div v-if="newRelease" class="releaseNotes">
<Mfm :text="data.notes"/>
<div v-if="data.screenshots.length > 0" style="max-width: 500">
<img v-for="i in data.screenshots" :key="i" :src="i"/>
</div>
</div>
<MkButton class="gotIt" primary full @click="$refs.modal.close()">{{ i18n.ts.gotIt }}</MkButton>
<MkButton class="gotIt" primary full @click="modal.close()">{{ i18n.ts.gotIt }}</MkButton>
</div>
</MkModal>
</template>
@ -23,6 +22,8 @@ import { version } from '@/config';
import { i18n } from '@/i18n';
import * as os from '@/os';
const modal = $ref<InstanceType<typeof MkModal>>();
let newRelease = false;
let data;
os.api('release').then(res => {