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