From 4994fddfd8de90823c6ef2f8d83e3e5bca52e365 Mon Sep 17 00:00:00 2001 From: Milan Perera Date: Wed, 28 Jun 2017 18:32:21 +0530 Subject: [PATCH] Fixed issue wso2/product-iots#427 --- .../public/js/notification-listing.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.notification.listing/public/js/notification-listing.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.notification.listing/public/js/notification-listing.js index f77c0f5a3f..6958dbd4f4 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.notification.listing/public/js/notification-listing.js +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.notification.listing/public/js/notification-listing.js @@ -69,11 +69,11 @@ function showAdvanceOperation(operation, button) { $(button).addClass('selected'); $(button).siblings().removeClass('selected'); if ($(button).attr("id") == 'allNotifications') { - $("#noNotificationtxt").html('You do not have any unread notifications '); - } else if ($(button).attr("id") == 'unReadNotifications') { $("#noNotificationtxt").html('You do not have any notifications '); + } else if ($(button).attr("id") == 'unReadNotifications') { + $("#noNotificationtxt").html('You do not have any unread notifications '); } else { - $("#noNotificationtxt").html('You do not have any notifications '); + $("#noNotificationtxt").html('You do not have any unread notifications '); } var hiddenOperation = ".wr-hidden-operations-content > div"; $(hiddenOperation + '[data-operation="' + operation + '"]').show();