|
|
@ -15,7 +15,7 @@ export const createDatasourceStore = () => { |
|
|
let datasourceIds = [] |
|
|
let datasourceIds = [] |
|
|
|
|
|
|
|
|
// Extract table ID
|
|
|
// Extract table ID
|
|
|
if (datasource.type === "table") { |
|
|
if (datasource.type === "table" || datasource.type === "view") { |
|
|
if (datasource.tableId) { |
|
|
if (datasource.tableId) { |
|
|
datasourceIds.push(datasource.tableId) |
|
|
datasourceIds.push(datasource.tableId) |
|
|
} |
|
|
} |
|
|
|