mirror of
https://github.com/paricafe/misskey.git
synced 2025-03-28 09:29:28 -05:00
tweak MkUpdated
This commit is contained in:
parent
e8498f4a86
commit
43e8b135f4
1 changed files with 2 additions and 1 deletions
|
@ -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(() => {
|
||||
|
|
Loading…
Add table
Reference in a new issue