From e958c3ec04549cf7623da6bb46abf4d55b674b81 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Tue, 17 Oct 2023 07:27:47 +0000 Subject: [PATCH] fix: add missing await --- packages/nc-gui/components/dlg/QuickImport.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nc-gui/components/dlg/QuickImport.vue b/packages/nc-gui/components/dlg/QuickImport.vue index 182a5f347a..b60ddacd00 100644 --- a/packages/nc-gui/components/dlg/QuickImport.vue +++ b/packages/nc-gui/components/dlg/QuickImport.vue @@ -149,9 +149,9 @@ const dialogShow = useVModel(rest, 'modelValue', emit) if (isWorkerSupport) { watch( dialogShow, - (val) => { + async (val) => { if (val) { - importWorker = initWorker(importWorkerUrl) + importWorker = await initWorker(importWorkerUrl) } else { importWorker?.terminate() }