summaryrefslogtreecommitdiffstats
path: root/ui-react/src/components/loop_viewer/svg
diff options
context:
space:
mode:
Diffstat (limited to 'ui-react/src/components/loop_viewer/svg')
-rw-r--r--ui-react/src/components/loop_viewer/svg/LoopSvg.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/ui-react/src/components/loop_viewer/svg/LoopSvg.js b/ui-react/src/components/loop_viewer/svg/LoopSvg.js
index bb4b6d03c..06cfd238f 100644
--- a/ui-react/src/components/loop_viewer/svg/LoopSvg.js
+++ b/ui-react/src/components/loop_viewer/svg/LoopSvg.js
@@ -55,17 +55,14 @@ 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) {
return this.state.svgContent !== nextState.svgContent;
}
- componentWillReceiveProps(newProps) {
- console.log("!!!!!!!!!!!!!!!!!!!!!!!!");
+ componentWillReceiveProps(newProps) {
if (this.state.loopCache !== newProps.loopCache) {
- console.log("!!!!!!!!!!!!!!!!!!!!!!!!changed");
this.setState({
loopCache: newProps.loopCache,
componentModalMapping: LoopComponentConverter.buildMapOfComponents(newProps.loopCache)