From 975f080075be59bb311e5ef0882f53cfe850ae78 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 17 Feb 2021 16:01:35 +0000 Subject: [PATCH] Fix views not hot reloading when table data changes --- packages/client/src/store/datasource.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }