update all our uses of os.popup

This commit is contained in:
dakkar 2024-08-14 11:50:39 +01:00
parent 917eb821e5
commit 5b808a97b2
5 changed files with 84 additions and 27 deletions

View file

@ -374,7 +374,12 @@ function watchForDraft() {
}
function MFMWindow() {
os.popup(defineAsyncComponent(() => import('@/components/SkMfmWindow.vue')), {}, {}, 'closed');
const { dispose } = os.popup(
defineAsyncComponent(() => import('@/components/SkMfmWindow.vue')),
{},
{
closed: () => dispose(),
});
}
function checkMissingMention() {