mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-12 05:38:10 +09:00
fix
This commit is contained in:
parent
e099a3346c
commit
df02e06c37
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "calckey",
|
||||
"version": "13.0.8.6",
|
||||
"version": "13.0.8",
|
||||
"codename": "aqua",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -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 => {
|
||||
|
Loading…
Reference in New Issue
Block a user