summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-BE-common/src/main
diff options
context:
space:
mode:
authorSri Balaji Marripud <sri.balaji.marripud@att.com>2020-08-13 22:05:01 -0400
committerSri Balaji Marripud <sri.balaji.marripud@att.com>2020-08-13 22:05:11 -0400
commitd8a0539b3dfaa60bd9c809bcf801262b3ce282a4 (patch)
tree1edc12fd269393faba420e5be319b41655bc4a5a /ecomp-portal-BE-common/src/main
parent08b693019187909148f50b2ead800b553438e10b (diff)
fix for internationalization change for left menu
Issue-ID: PORTAL-975 Change-Id: I34c4f1b34b72864b762e120fe659611fdc51a24d Signed-off-by: Sri Balaji Marripud <sri.balaji.marripud@att.com>
Diffstat (limited to 'ecomp-portal-BE-common/src/main')
-rw-r--r--ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/service/EPLeftMenuServiceImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/service/EPLeftMenuServiceImpl.java b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/service/EPLeftMenuServiceImpl.java
index 4de10d9f..930c4a93 100644
--- a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/service/EPLeftMenuServiceImpl.java
+++ b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/service/EPLeftMenuServiceImpl.java
@@ -141,7 +141,7 @@ public class EPLeftMenuServiceImpl implements EPLeftMenuService {
MenuData menuData = iterator.next();
for (int index = 0; index < displayTexts.size(); index++) {
DisplayText displayText = displayTexts.get(index);
- if (menuData.getId() == displayText.getTextId()) {
+ if (menuData.getId().equals(displayText.getTextId())) {
menuData.setLabel(displayText.getLabel());
break;
}