Browse Source

fix: add missing await

pull/6708/head
Pranav C 1 year ago
parent
commit
e958c3ec04
  1. 4
      packages/nc-gui/components/dlg/QuickImport.vue

4
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()
}

Loading…
Cancel
Save