From df2a8c1cde429049fa86b3d94c7adc5745ee8745 Mon Sep 17 00:00:00 2001 From: Tomas Bures Date: Sun, 17 Feb 2019 17:18:44 +0000 Subject: [PATCH] Fix for #536 --- client/src/lib/tree.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/lib/tree.js b/client/src/lib/tree.js index 0a73a8b6..99e2b738 100644 --- a/client/src/lib/tree.js +++ b/client/src/lib/tree.js @@ -96,7 +96,8 @@ class TreeTable extends Component { } shouldComponentUpdate(nextProps, nextState) { - return this.props.selection !== nextProps.selection || this.state.treeData != nextState.treeData || this.props.className !== nextProps.className; + return this.props.selection !== nextProps.selection || this.props.data !== nextProps.data || this.props.dataUrl !== nextProps.dataUrl || + this.state.treeData != nextState.treeData || this.props.className !== nextProps.className; } // XSS protection