From 94130eca4f5e8eb909f55e95ea61ab7400d769f8 Mon Sep 17 00:00:00 2001 From: nxanil Date: Wed, 7 Sep 2022 19:54:36 +0530 Subject: [PATCH] fixed table issue --- Graphs/Table/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Graphs/Table/index.js b/Graphs/Table/index.js index 62d333fc..f54a1de9 100644 --- a/Graphs/Table/index.js +++ b/Graphs/Table/index.js @@ -228,7 +228,7 @@ const TableGraph = (props) => { } = properties; const vizID = id && id.replace(/-/g, ''); - const contextKey = vizID && Object.keys(context).filter(key => key.startsWith(vizID) && key.endsWith('size')); + const contextKey = vizID && context && Object.keys(context).filter(key => key.startsWith(vizID) && key.endsWith('size')); const customSize = contextKey && context[contextKey] !== '1000' ? context[contextKey] : size; const getColumns = () => (properties.columns || []);