1
0
Fork 0
mirror of https://github.com/paricafe/misskey.git synced 2025-03-28 09:29:28 -05:00

tweak MkUpdated

This commit is contained in:
fly_mc 2024-10-03 11:39:32 +08:00
parent e8498f4a86
commit 43e8b135f4

View file

@ -22,12 +22,13 @@ import MkSparkle from '@/components/MkSparkle.vue';
import { version } from '@@/js/config.js';
import { i18n } from '@/i18n.js';
import { confetti } from '@/scripts/confetti.js';
import { useRouter } from '@/router/supplier';
const modal = shallowRef<InstanceType<typeof MkModal>>();
function whatIsNew() {
modal.value?.close();
window.open(`https://misskey-hub.net/docs/releases/#_${version.replace(/\./g, '')}`, '_blank');
useRouter().push(`/tags/${version.replaceAll('.', '-')}`);
}
onMounted(() => {