diff --git a/packages/nc-gui/assets/nc-icons/cell-longtext.svg b/packages/nc-gui/assets/nc-icons/cell-longtext.svg index bfdb92ae92..dcb7c9d8fb 100644 --- a/packages/nc-gui/assets/nc-icons/cell-longtext.svg +++ b/packages/nc-gui/assets/nc-icons/cell-longtext.svg @@ -3,6 +3,6 @@ - + diff --git a/packages/nc-gui/components/extensions/Extension.vue b/packages/nc-gui/components/extensions/Extension.vue index 0c5063cf85..7f0918bfd9 100644 --- a/packages/nc-gui/components/extensions/Extension.vue +++ b/packages/nc-gui/components/extensions/Extension.vue @@ -6,7 +6,7 @@ interface Prop { const { extensionId, error } = defineProps() -const { extensionList, extensionsLoaded, availableExtensions, eventBus } = useExtensions() +const { extensionList, extensionsLoaded, availableExtensions } = useExtensions() const isLoadedExtension = ref(true) @@ -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/components/extensions/Market.vue b/packages/nc-gui/components/extensions/Market.vue index 7b5772150a..df295da80f 100644 --- a/packages/nc-gui/components/extensions/Market.vue +++ b/packages/nc-gui/components/extensions/Market.vue @@ -1,6 +1,4 @@