aboutsummaryrefslogtreecommitdiffstats
path: root/ui-react/src/LoopUI.js
diff options
context:
space:
mode:
authorxuegao <xg353y@intl.att.com>2019-10-04 16:11:22 +0200
committerxuegao <xg353y@intl.att.com>2019-10-07 10:06:42 +0200
commit52432d6512d2477ad16d46f5ab31a8f77e9f77bd (patch)
tree80505ded9b9cab443817ea0dda250e7159bcfe91 /ui-react/src/LoopUI.js
parent9961ca616538f9fd3931d03cf2aec9344c11609d (diff)
Fix loopUI issue
Fix the issue that loopName doesn't show correctly. Issue-ID: CLAMP-529 Change-Id: I2f7916eb300cecc311b0752df92926c747b8eb71 Signed-off-by: xuegao <xg353y@intl.att.com>
Diffstat (limited to 'ui-react/src/LoopUI.js')
-rw-r--r--ui-react/src/LoopUI.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui-react/src/LoopUI.js b/ui-react/src/LoopUI.js
index fb595ded..b6dd0cb0 100644
--- a/ui-react/src/LoopUI.js
+++ b/ui-react/src/LoopUI.js
@@ -199,7 +199,8 @@ export default class LoopUI extends React.Component {
}
updateLoopCache(loopJson) {
- this.setState({ loopCache: new LoopCache(loopJson), loopName: this.state.loopCache.getLoopName() });
+ this.setState({ loopCache: new LoopCache(loopJson) });
+ this.setState({ loopName: this.state.loopCache.getLoopName() });
console.info(this.state.loopName+" loop loaded successfully");
}