Code Review
/
clamp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix sonar issues
[clamp.git]
/
ui-react
/
src
/
components
/
dialogs
/
LoopProperties.js
diff --git
a/ui-react/src/components/dialogs/LoopProperties.js
b/ui-react/src/components/dialogs/LoopProperties.js
index
fa82a7e
..
990fe77
100644
(file)
--- 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,
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) {
};
constructor(props, context) {
@@
-53,8
+53,7
@@
export default class LoopProperties extends React.Component {
componentWillReceiveProps(newProps) {
this.setState({
loopCache: newProps.loopCache,
componentWillReceiveProps(newProps) {
this.setState({
loopCache: newProps.loopCache,
- temporaryPropertiesJson: JSON.parse(JSON.stringify(newProps.loopCache.getGlobalProperties())),
-
+ temporaryPropertiesJson: JSON.parse(JSON.stringify(newProps.loopCache.getGlobalProperties()))
});
}
});
}