Fix views not hot reloading when table data changes
This commit is contained in:
parent
3760835226
commit
975f080075
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue