From b65f1215e7dfab5630c0e2c1da8afec4cd08173f Mon Sep 17 00:00:00 2001 From: sebdet Date: Fri, 23 Aug 2019 07:49:25 -0700 Subject: Update react Update react compo to latest ones Issue-ID: CLAMP-477 Change-Id: I108b31c7e25595d96bc598f394590f23436335a1 Signed-off-by: sebdet --- ui-react/src/api/LoopCache.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui-react/src/api') diff --git a/ui-react/src/api/LoopCache.js b/ui-react/src/api/LoopCache.js index d83e3ce9..dd8c5b52 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; } } -- cgit 1.2.3-korg