Making sure single table get also includes sourceId.
This commit is contained in:
parent
455b26bac9
commit
fd0d8f17f2
|
@ -67,7 +67,7 @@ export async function getTable(tableId: string): Promise<Table> {
|
|||
const table = await getExternalTable(datasourceId!, tableName!)
|
||||
return { ...table, sql: isSQL(datasource) }
|
||||
} else {
|
||||
return db.get(tableId)
|
||||
return processInternalTable(await db.get<Table>(tableId))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue