summaryrefslogtreecommitdiffstats
path: root/ui-react/src/components/dialogs/LoopProperties.js
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2019-09-06 18:11:51 +0200
committersebdet <sebastien.determe@intl.att.com>2019-09-06 18:18:14 +0200
commit337f36602a553ecb937c041a27b1c7270571c647 (patch)
tree935f593c1cb43b421f14cf0e4b84e210cbdb2125 /ui-react/src/components/dialogs/LoopProperties.js
parent64d4727e2bb0973cf61a125fed240c8c4952d6ff (diff)
Fix sonar issues
FIx some issues reported incorrectly by sonar for the new javascript code Issue-ID: CLAMP-425 Change-Id: I485b727c3a6007c0f0f9301fcda526b028d6251f Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Diffstat (limited to 'ui-react/src/components/dialogs/LoopProperties.js')
-rw-r--r--ui-react/src/components/dialogs/LoopProperties.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/ui-react/src/components/dialogs/LoopProperties.js b/ui-react/src/components/dialogs/LoopProperties.js
index fa82a7e48..990fe7754 100644
--- a/ui-react/src/components/dialogs/LoopProperties.js
+++ b/ui-react/src/components/dialogs/LoopProperties.js
@@ -35,7 +35,7 @@ export default class LoopProperties extends React.Component {
state = {
show: true,
loopCache: this.props.loopCache,
- temporaryPropertiesJson: JSON.parse(JSON.stringify(this.props.loopCache.getGlobalProperties())),
+ temporaryPropertiesJson: JSON.parse(JSON.stringify(this.props.loopCache.getGlobalProperties()))
};
constructor(props, context) {
@@ -53,8 +53,7 @@ export default class LoopProperties extends React.Component {
componentWillReceiveProps(newProps) {
this.setState({
loopCache: newProps.loopCache,
- temporaryPropertiesJson: JSON.parse(JSON.stringify(newProps.loopCache.getGlobalProperties())),
-
+ temporaryPropertiesJson: JSON.parse(JSON.stringify(newProps.loopCache.getGlobalProperties()))
});
}