diff --git a/packages/builder/src/components/backend/TableNavigator/popovers/EditTablePopover.svelte b/packages/builder/src/components/backend/TableNavigator/popovers/EditTablePopover.svelte
index c2cda1f2d8..f2c726c8bf 100644
--- a/packages/builder/src/components/backend/TableNavigator/popovers/EditTablePopover.svelte
+++ b/packages/builder/src/components/backend/TableNavigator/popovers/EditTablePopover.svelte
@@ -28,7 +28,6 @@
let deleteTableName
$: externalTable = table?.sourceType === DB_TYPE_EXTERNAL
- $: allowDeletion = !externalTable || table?.created
function showDeleteModal() {
templateScreens = $screenStore.screens.filter(
@@ -56,7 +55,7 @@
$goto(`./datasource/${table.datasourceId}`)
}
} catch (error) {
- notifications.error("Error deleting table")
+ notifications.error(`Error deleting table - ${error.message}`)
}
}
@@ -86,17 +85,15 @@
}
-{#if allowDeletion}
-
-
-
-
- {#if !externalTable}
-
- {/if}
-
-
-{/if}
+
+
+
+
+ {#if !externalTable}
+
+ {/if}
+
+