Fix editing AI created tables
This commit is contained in:
parent
ec9fc6540e
commit
26bc239ae4
|
@ -47,6 +47,9 @@ export function isExternalTable(table: Table) {
|
||||||
if (
|
if (
|
||||||
table?.sourceId &&
|
table?.sourceId &&
|
||||||
table.sourceId.includes(DocumentType.DATASOURCE + SEPARATOR) &&
|
table.sourceId.includes(DocumentType.DATASOURCE + SEPARATOR) &&
|
||||||
|
!table.sourceId.startsWith(
|
||||||
|
DocumentType.DATASOURCE + SEPARATOR + "bb_internal_"
|
||||||
|
) &&
|
||||||
table?.sourceId !== DEFAULT_BB_DATASOURCE_ID
|
table?.sourceId !== DEFAULT_BB_DATASOURCE_ID
|
||||||
) {
|
) {
|
||||||
return true
|
return true
|
||||||
|
|
Loading…
Reference in New Issue