Fix editing AI created tables

This commit is contained in:
Adria Navarro 2025-03-28 14:20:25 +01:00
parent ec9fc6540e
commit 26bc239ae4
1 changed files with 3 additions and 0 deletions

View File

@ -47,6 +47,9 @@ export function isExternalTable(table: Table) {
if (
table?.sourceId &&
table.sourceId.includes(DocumentType.DATASOURCE + SEPARATOR) &&
!table.sourceId.startsWith(
DocumentType.DATASOURCE + SEPARATOR + "bb_internal_"
) &&
table?.sourceId !== DEFAULT_BB_DATASOURCE_ID
) {
return true