diff options
author | sebdet <sebastien.determe@intl.att.com> | 2019-09-06 18:11:51 +0200 |
---|---|---|
committer | sebdet <sebastien.determe@intl.att.com> | 2019-09-06 18:18:14 +0200 |
commit | 337f36602a553ecb937c041a27b1c7270571c647 (patch) | |
tree | 935f593c1cb43b421f14cf0e4b84e210cbdb2125 /ui-react/src/components/loop_viewer/logs | |
parent | 64d4727e2bb0973cf61a125fed240c8c4952d6ff (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/loop_viewer/logs')
-rw-r--r-- | ui-react/src/components/loop_viewer/logs/LoopLogs.js | 4 |
1 files changed, 2 insertions, 2 deletions
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 }); } |