Update react
Update react compo to latest ones
Issue-ID: CLAMP-477
Change-Id: I108b31c7e25595d96bc598f394590f23436335a1
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
diff --git a/ui-react/src/api/LoopCache.js b/ui-react/src/api/LoopCache.js
index d83e3ce..dd8c5b5 100644
--- a/ui-react/src/api/LoopCache.js
+++ b/ui-react/src/api/LoopCache.js
@@ -28,9 +28,9 @@
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;
}
}