summaryrefslogtreecommitdiffstats
path: root/ui-react/src/api/LoopCache.js
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2019-08-23 07:49:25 -0700
committersebdet <sebastien.determe@intl.att.com>2019-08-24 10:34:13 +0200
commitb65f1215e7dfab5630c0e2c1da8afec4cd08173f (patch)
tree152ae8bec276df8f9d41c4ccb48570997679cdd3 /ui-react/src/api/LoopCache.js
parent3142c70fb7530c444c891674fe55c6a9b236dfb3 (diff)
Update react
Update react compo to latest ones Issue-ID: CLAMP-477 Change-Id: I108b31c7e25595d96bc598f394590f23436335a1 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Diffstat (limited to 'ui-react/src/api/LoopCache.js')
-rw-r--r--ui-react/src/api/LoopCache.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui-react/src/api/LoopCache.js b/ui-react/src/api/LoopCache.js
index d83e3ce9d..dd8c5b520 100644
--- a/ui-react/src/api/LoopCache.js
+++ b/ui-react/src/api/LoopCache.js
@@ -28,9 +28,9 @@ export default class LoopCache {
this.loopJsonCache=loopJson;
}
- updateMicroServiceProperties(type, newMsProperties) {
+ updateMicroServiceProperties(name, newMsProperties) {
for (var policy in this.loopJsonCache["microServicePolicies"]) {
- if (this.loopJsonCache["microServicePolicies"][policy]["name"] === type) {
+ if (this.loopJsonCache["microServicePolicies"][policy]["name"] === name) {
this.loopJsonCache["microServicePolicies"][policy]["properties"] = newMsProperties;
}
}