diff --git a/packages/client/src/store/datasource.js b/packages/client/src/store/datasource.js index ac129efc10..d40fbbbfc1 100644 --- a/packages/client/src/store/datasource.js +++ b/packages/client/src/store/datasource.js @@ -15,7 +15,7 @@ export const createDatasourceStore = () => { let datasourceIds = [] // Extract table ID - if (datasource.type === "table") { + if (datasource.type === "table" || datasource.type === "view") { if (datasource.tableId) { datasourceIds.push(datasource.tableId) }