aboutsummaryrefslogtreecommitdiffstats
path: root/ui-react/src/components/loop_viewer/svg/LoopSvg.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui-react/src/components/loop_viewer/svg/LoopSvg.js')
-rw-r--r--ui-react/src/components/loop_viewer/svg/LoopSvg.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui-react/src/components/loop_viewer/svg/LoopSvg.js b/ui-react/src/components/loop_viewer/svg/LoopSvg.js
index 48f0335f..bb4b6d03 100644
--- a/ui-react/src/components/loop_viewer/svg/LoopSvg.js
+++ b/ui-react/src/components/loop_viewer/svg/LoopSvg.js
@@ -55,6 +55,7 @@ class LoopViewSvg extends React.Component {
this.state.loopCache = props.loopCache;
this.state.componentModalMapping = LoopComponentConverter.buildMapOfComponents(props.loopCache);
this.getSvg(props.loopCache.getLoopName());
+ console.log("!!!!!!!!!!!!!!!!!!!!!!!!:"+this.state.componentModalMapping);
}
shouldComponentUpdate(nextProps, nextState) {
@@ -62,7 +63,9 @@ class LoopViewSvg extends React.Component {
}
componentWillReceiveProps(newProps) {
+ console.log("!!!!!!!!!!!!!!!!!!!!!!!!");
if (this.state.loopCache !== newProps.loopCache) {
+ console.log("!!!!!!!!!!!!!!!!!!!!!!!!changed");
this.setState({
loopCache: newProps.loopCache,
componentModalMapping: LoopComponentConverter.buildMapOfComponents(newProps.loopCache)