From 2970f7e1d3768ab413a4b0cb579046005dfbf64a Mon Sep 17 00:00:00 2001 From: Ramesh Mane <101566080+rameshmane7218@users.noreply.github.com> Date: Tue, 12 Nov 2024 06:45:55 +0000 Subject: [PATCH] fix(nc-gui): bulk update extension import issue --- .../components/extensions/Extension.vue | 12 +- .../extensions/bulk-update/assets/icon.svg | 12 - .../bulk-update/assets/publisher-icon.svg | 12 - .../extensions/bulk-update/description.md | 39 -- .../nc-gui/extensions/bulk-update/index.vue | 431 ------------------ .../extensions/bulk-update/manifest.json | 21 - .../nc-gui/extensions/json-exporter/index.vue | 8 +- 7 files changed, 15 insertions(+), 520 deletions(-) delete mode 100644 packages/nc-gui/extensions/bulk-update/assets/icon.svg delete mode 100644 packages/nc-gui/extensions/bulk-update/assets/publisher-icon.svg delete mode 100644 packages/nc-gui/extensions/bulk-update/description.md delete mode 100644 packages/nc-gui/extensions/bulk-update/index.vue delete mode 100644 packages/nc-gui/extensions/bulk-update/manifest.json diff --git a/packages/nc-gui/components/extensions/Extension.vue b/packages/nc-gui/components/extensions/Extension.vue index 0c5063cf85..4b3a98be9b 100644 --- a/packages/nc-gui/components/extensions/Extension.vue +++ b/packages/nc-gui/components/extensions/Extension.vue @@ -67,10 +67,14 @@ onMounted(() => { return } - import(`../../extensions/${extensionManifest.value.entry}/index.vue`).then((mod) => { - component.value = markRaw(mod.default) - isLoadedExtension.value = false - }) + import(`../../extensions/${extensionManifest.value.entry}/index.vue`) + .then((mod) => { + component.value = markRaw(mod.default) + isLoadedExtension.value = false + }) + .catch((e) => { + throw new Error(e) + }) }) .catch((err) => { if (!extensionManifest.value) { diff --git a/packages/nc-gui/extensions/bulk-update/assets/icon.svg b/packages/nc-gui/extensions/bulk-update/assets/icon.svg deleted file mode 100644 index 2381559164..0000000000 --- a/packages/nc-gui/extensions/bulk-update/assets/icon.svg +++ /dev/null @@ -1,12 +0,0 @@ - \ No newline at end of file diff --git a/packages/nc-gui/extensions/bulk-update/assets/publisher-icon.svg b/packages/nc-gui/extensions/bulk-update/assets/publisher-icon.svg deleted file mode 100644 index 2381559164..0000000000 --- a/packages/nc-gui/extensions/bulk-update/assets/publisher-icon.svg +++ /dev/null @@ -1,12 +0,0 @@ - \ No newline at end of file diff --git a/packages/nc-gui/extensions/bulk-update/description.md b/packages/nc-gui/extensions/bulk-update/description.md deleted file mode 100644 index 46d29d73fe..0000000000 --- a/packages/nc-gui/extensions/bulk-update/description.md +++ /dev/null @@ -1,39 +0,0 @@ -Bulk update - - -// Todo: update details - -The download process is handled asynchronously in the background, ensuring that your workflow remains uninterrupted. Once your file is ready, you’ll receive a notification, allowing you to download the CSV at your convenience. - - -**Key Features** - -- Easy CSV downloads for specific tables and views -- Asynchronous processing for seamless operation -- Instant notifications when the file is ready for download - - -Elevate your data handling capabilities with the NocoDB Data Exporter extension! - - - - - Learn more - - - - - -