diff options
Diffstat (limited to 'ui-react/src/components/loop_viewer/svg')
-rw-r--r-- | ui-react/src/components/loop_viewer/svg/LoopComponentConverter.js | 6 |
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 5b0dc1e0..29422a1f 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; |