From 8773d203da9fdc98283004c297e695f2a9381fba Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Tue, 31 Mar 2020 11:40:16 +0200 Subject: [PATCH] Fix bad check --- assets/js/components/notifications/service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/components/notifications/service.js b/assets/js/components/notifications/service.js index ac499595..f5daba48 100644 --- a/assets/js/components/notifications/service.js +++ b/assets/js/components/notifications/service.js @@ -34,7 +34,7 @@ ComunicWeb.components.notifications.service = { target.innerHTML = this.count_unread_notifications; //If the number of notifications equals 0, hide the target if required - target.style.display = this.count_unread_conv == 0 && auto_hide ? "none" : "block"; + target.style.display = this.count_unread_notifications == 0 && auto_hide ? "none" : "block"; //Update the number of conversations if possible too if(target_conversations){