summaryrefslogtreecommitdiffstats
path: root/ui-react/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'ui-react/src/components')
-rw-r--r--ui-react/src/components/loop_viewer/svg/LoopComponentConverter.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/ui-react/src/components/loop_viewer/svg/LoopComponentConverter.js b/ui-react/src/components/loop_viewer/svg/LoopComponentConverter.js
index 5b0dc1e01..29422a1f5 100644
--- a/ui-react/src/components/loop_viewer/svg/LoopComponentConverter.js
+++ b/ui-react/src/components/loop_viewer/svg/LoopComponentConverter.js
@@ -9,11 +9,7 @@ export default class LoopComponentConverter {
}
if (typeof (loopCache.getOperationalPolicies()) !== "undefined") {
loopCache.getOperationalPolicies().forEach(op => {
- if (op.name.includes("legacy")) {
- componentsMap.set(op.name,"/operationalPolicyModal");
- } else {
- componentsMap.set(op.name, "/policyModal/OPERATIONAL-POLICY/"+op.name);
- }
+ componentsMap.set(op.name, "/policyModal/OPERATIONAL-POLICY/"+op.name);
})
}
return componentsMap;