a few more fixes to os.popup calls

This commit is contained in:
dakkar 2024-08-14 12:28:57 +01:00
parent 99a0765eaf
commit c2b825b300
4 changed files with 14 additions and 8 deletions

View file

@ -143,11 +143,12 @@ async function search() {
key.value++;
os.popup(defineAsyncComponent(() => import('@/components/SkSearchResultWindow.vue')), {
const { dispose } = os.popup(defineAsyncComponent(() => import('@/components/SkSearchResultWindow.vue')), {
noteKey: key.value,
notePagination: notePagination.value,
}, {
}, 'closed');
closed: () => dispose(),
});
}
defineExpose<WidgetComponentExpose>({