diff options
Diffstat (limited to 'ui-react/src/components/dialogs/LoopProperties.js')
-rw-r--r-- | ui-react/src/components/dialogs/LoopProperties.js | 5 |
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 fa82a7e4..990fe775 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())) }); } |