summaryrefslogtreecommitdiffstats
path: root/ui-react/src/components/loop_viewer
diff options
context:
space:
mode:
authorSébastien Determe <sebastien.determe@intl.att.com>2019-07-29 11:17:17 +0000
committerGerrit Code Review <gerrit@onap.org>2019-07-29 11:17:17 +0000
commit2eb723772eb99e67d621165d38f289a260488b05 (patch)
tree626fe7951e8bafbb6a0c2962d7af9919696f367f /ui-react/src/components/loop_viewer
parent190227aa1bbcdc164a17fbcc8de06f78c11ebdff (diff)
parentb09e7df8439398fc094a56ec33fa33950ac8fa9e (diff)
Merge "Rework Loop properties window"
Diffstat (limited to 'ui-react/src/components/loop_viewer')
-rw-r--r--ui-react/src/components/loop_viewer/svg/LoopComponentConverter.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui-react/src/components/loop_viewer/svg/LoopComponentConverter.js b/ui-react/src/components/loop_viewer/svg/LoopComponentConverter.js
index b737f3e19..a409d2cd0 100644
--- a/ui-react/src/components/loop_viewer/svg/LoopComponentConverter.js
+++ b/ui-react/src/components/loop_viewer/svg/LoopComponentConverter.js
@@ -3,16 +3,16 @@ export default class LoopComponentConverter {
static buildMapOfComponents(loopCache) {
var componentsMap = new Map([]);
if (typeof (loopCache.getMicroServicePolicies()) !== "undefined") {
- loopCache.getMicroServicePolicies().map(ms => {
+ loopCache.getMicroServicePolicies().forEach(ms => {
componentsMap.set(ms.name, "/configurationPolicyModal/"+ms.name);
})
}
if (typeof (loopCache.getOperationalPolicies()) !== "undefined") {
- loopCache.getOperationalPolicies().map(op => {
+ loopCache.getOperationalPolicies().forEach(op => {
componentsMap.set(op.name, "/operationalPolicyModal");
})
}
componentsMap.set("OperationalPolicy","/operationalPolicyModal");
return componentsMap;
}
-} \ No newline at end of file
+}