summaryrefslogtreecommitdiffstats
path: root/ui-react/src
diff options
context:
space:
mode:
authorxuegao <xg353y@intl.att.com>2019-10-21 13:07:49 +0200
committerxuegao <xg353y@intl.att.com>2019-10-21 13:09:07 +0200
commit4e2db35d3c6a586f544ed4e0d756f18a489a629f (patch)
tree7f2516ee461fb8a0f9c2bb26a6746e44b23b7ab8 /ui-react/src
parent90905c5eeb6d138809769624a24f578135010b05 (diff)
Fix issues
Fix issues from the previous commit. Issue-ID: CLAMP-512 Change-Id: I84b97e9c457f34771b4c8e723dbeeb7fdfc3a18f Signed-off-by: xuegao <xg353y@intl.att.com>
Diffstat (limited to 'ui-react/src')
-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 bb4b6d03..06cfd238 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)