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 f77c0f5a3f0..6958dbd4f4c 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();