From dde49b5c2282444d450006238f73782da3d704a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20de=20Metz?= Date: Wed, 22 May 2024 11:30:18 +0200 Subject: [PATCH] Add a missing defineEmits. --- js/preview/preview_confirm.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/preview/preview_confirm.vue b/js/preview/preview_confirm.vue index 611c961..395f8b6 100644 --- a/js/preview/preview_confirm.vue +++ b/js/preview/preview_confirm.vue @@ -64,6 +64,8 @@ function close() { model.value = false; } +const emit = defineEmits(['openPreview']); + async function ok() { loading.value = true; try {