diff options
author | Sébastien Determe <sebastien.determe@intl.att.com> | 2019-10-21 09:31:13 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-10-21 09:31:13 +0000 |
commit | d0f1475f3d0dcec0f0e7bd0b6d08eedd0ded3f19 (patch) | |
tree | 273ee3f9c2109490d9f8c52a4dbb82ef5a686cb1 /ui-react/src/components/loop_viewer/svg/LoopSvg.js | |
parent | 593881945f84adf8ffde810684e25f4aae229718 (diff) | |
parent | cb54edb9a9e90bf4f24d5ba4ef73a43adbbc2169 (diff) |
Merge "Add ui tests"
Diffstat (limited to 'ui-react/src/components/loop_viewer/svg/LoopSvg.js')
-rw-r--r-- | ui-react/src/components/loop_viewer/svg/LoopSvg.js | 3 |
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 48f0335fc..bb4b6d03c 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) |