debugging

This commit is contained in:
ThatOneCalculator 2023-01-03 17:52:04 -08:00
parent 0e4f4ebaca
commit 168d475121
3 changed files with 11 additions and 3 deletions

View File

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

View File

@ -3,7 +3,8 @@
<div class="ewlycnyt">
<div class="title"><MkSparkle>{{ i18n.ts.misskeyUpdated }}</MkSparkle></div>
<div class="version"> {{ version }} 🚀</div>
<div v-if="newRelease" class="releaseNotes">
<!-- v-if="newRelease" -->
<div 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"/>

View File

@ -13,14 +13,17 @@
<FormLink to="/registry" class="_formBlock"><template #icon><i class="ph-gear-six-bold ph-lg"></i></template>{{ i18n.ts.registry }}</FormLink>
<FormLink to="/settings/delete-account" class="_formBlock"><template #icon><i class="ph-warning-bold ph-lg"></i></template>{{ i18n.ts.closeAccount }}</FormLink>
<MkButton @click="updatePopup()">Test update modal</MkButton>
</div>
</template>
<script lang="ts" setup>
import { computed } from 'vue';
import { computed, defineAsyncComponent } from 'vue';
import FormSwitch from '@/components/form/switch.vue';
import FormLink from '@/components/form/link.vue';
import * as os from '@/os';
import { popup } from '@/os';
import { defaultStore } from '@/store';
import { $i } from '@/account';
import { i18n } from '@/i18n';
@ -36,6 +39,10 @@ function onChangeInjectFeaturedNote(v) {
});
}
function updatePopup() {
popup(defineAsyncComponent(() => import('@/components/MkUpdated.vue')), {}, {}, 'closed');
}
const headerActions = $computed(() => []);
const headerTabs = $computed(() => []);