Fix views not hot reloading when table data changes

This commit is contained in:
Andrew Kingston 2021-02-17 16:01:35 +00:00
parent 3760835226
commit 975f080075
1 changed files with 1 additions and 1 deletions

View File

@ -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)
} }