diff options
Diffstat (limited to 'ui-react/src/components')
6 files changed, 10 insertions, 11 deletions
diff --git a/ui-react/src/components/dialogs/ConfigurationPolicy/ConfigurationPolicyModal.js b/ui-react/src/components/dialogs/ConfigurationPolicy/ConfigurationPolicyModal.js index 9863ef721..b0f601ec2 100644 --- a/ui-react/src/components/dialogs/ConfigurationPolicy/ConfigurationPolicyModal.js +++ b/ui-react/src/components/dialogs/ConfigurationPolicy/ConfigurationPolicyModal.js @@ -38,7 +38,7 @@ export default class ConfigurationPolicyModal extends React.Component { show: true, loopCache: this.props.loopCache, jsonEditor: null, - componentName: this.props.match.params.componentName, + componentName: this.props.match.params.componentName }; constructor(props, context) { 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())) }); } diff --git a/ui-react/src/components/dialogs/OperationalPolicy/OperationalPolicyModal.js b/ui-react/src/components/dialogs/OperationalPolicy/OperationalPolicyModal.js index 7f349a10f..1ebe5f0e8 100644 --- a/ui-react/src/components/dialogs/OperationalPolicy/OperationalPolicyModal.js +++ b/ui-react/src/components/dialogs/OperationalPolicy/OperationalPolicyModal.js @@ -37,7 +37,7 @@ export default class OperationalPolicyModal extends React.Component { state = { show: true, loopCache: this.props.loopCache, - jsonEditor: null, + jsonEditor: null }; constructor(props, context) { diff --git a/ui-react/src/components/loop_viewer/logs/LoopLogs.js b/ui-react/src/components/loop_viewer/logs/LoopLogs.js index b6a777a40..6abdc4b4f 100644 --- a/ui-react/src/components/loop_viewer/logs/LoopLogs.js +++ b/ui-react/src/components/loop_viewer/logs/LoopLogs.js @@ -47,7 +47,7 @@ const TableRow = ({ logRow }) => ( export default class LoopLogs extends React.Component { state = { - loopCache: new LoopCache({}), + loopCache: new LoopCache({}) } constructor(props) { super(props); @@ -61,7 +61,7 @@ export default class LoopLogs extends React.Component { componentWillReceiveProps(newProps) { this.setState({ - loopCache: newProps.loopCache, + loopCache: newProps.loopCache }); } diff --git a/ui-react/src/components/loop_viewer/status/LoopStatus.js b/ui-react/src/components/loop_viewer/status/LoopStatus.js index 141a41f51..d960c31e6 100644 --- a/ui-react/src/components/loop_viewer/status/LoopStatus.js +++ b/ui-react/src/components/loop_viewer/status/LoopStatus.js @@ -46,7 +46,7 @@ const TableRow = ({ statusRow }) => ( export default class LoopStatus extends React.Component { state = { - loopCache: new LoopCache({}), + loopCache: new LoopCache({}) } constructor(props) { @@ -74,7 +74,7 @@ export default class LoopStatus extends React.Component { componentWillReceiveProps(newProps) { this.setState({ - loopCache: newProps.loopCache, + loopCache: newProps.loopCache }); } diff --git a/ui-react/src/components/loop_viewer/svg/LoopSvg.js b/ui-react/src/components/loop_viewer/svg/LoopSvg.js index 1b1e24280..48f0335fc 100644 --- a/ui-react/src/components/loop_viewer/svg/LoopSvg.js +++ b/ui-react/src/components/loop_viewer/svg/LoopSvg.js @@ -45,7 +45,7 @@ class LoopViewSvg extends React.Component { state = { svgContent: LoopViewSvg.emptySvg, loopCache: new LoopCache({}), - componentModalMapping: new Map([]), + componentModalMapping: new Map([]) } constructor(props) { @@ -65,7 +65,7 @@ class LoopViewSvg extends React.Component { if (this.state.loopCache !== newProps.loopCache) { this.setState({ loopCache: newProps.loopCache, - componentModalMapping: LoopComponentConverter.buildMapOfComponents(newProps.loopCache), + componentModalMapping: LoopComponentConverter.buildMapOfComponents(newProps.loopCache) }); this.getSvg(newProps.loopCache.getLoopName()); } |