fix
This commit is contained in:
parent
83e9c10646
commit
6144650f9d
2 changed files with 6 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "calckey",
|
"name": "calckey",
|
||||||
"version": "13.0.8.6",
|
"version": "13.0.8",
|
||||||
"codename": "aqua",
|
"codename": "aqua",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -1,16 +1,15 @@
|
||||||
<template>
|
<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="ewlycnyt">
|
||||||
<div class="title"><MkSparkle>{{ i18n.ts.misskeyUpdated }}</MkSparkle></div>
|
<div class="title"><MkSparkle>{{ i18n.ts.misskeyUpdated }}</MkSparkle></div>
|
||||||
<div class="version">✨ {{ version }} 🚀</div>
|
<div class="version">✨ {{ version }} 🚀</div>
|
||||||
<!-- v-if="newRelease" -->
|
<div v-if="newRelease" class="releaseNotes">
|
||||||
<div class="releaseNotes">
|
|
||||||
<Mfm :text="data.notes"/>
|
<Mfm :text="data.notes"/>
|
||||||
<div v-if="data.screenshots.length > 0" style="max-width: 500">
|
<div v-if="data.screenshots.length > 0" style="max-width: 500">
|
||||||
<img v-for="i in data.screenshots" :key="i" :src="i"/>
|
<img v-for="i in data.screenshots" :key="i" :src="i"/>
|
||||||
</div>
|
</div>
|
||||||
</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>
|
</div>
|
||||||
</MkModal>
|
</MkModal>
|
||||||
</template>
|
</template>
|
||||||
|
@ -23,6 +22,8 @@ import { version } from '@/config';
|
||||||
import { i18n } from '@/i18n';
|
import { i18n } from '@/i18n';
|
||||||
import * as os from '@/os';
|
import * as os from '@/os';
|
||||||
|
|
||||||
|
const modal = $ref<InstanceType<typeof MkModal>>();
|
||||||
|
|
||||||
let newRelease = false;
|
let newRelease = false;
|
||||||
let data;
|
let data;
|
||||||
os.api('release').then(res => {
|
os.api('release').then(res => {
|
||||||
|
|
Loading…
Reference in a new issue