Fix bad check

This commit is contained in:
Pierre HUBERT 2020-03-31 11:40:16 +02:00
parent a71c3f8a73
commit 8773d203da

View File

@ -34,7 +34,7 @@ ComunicWeb.components.notifications.service = {
target.innerHTML = this.count_unread_notifications; target.innerHTML = this.count_unread_notifications;
//If the number of notifications equals 0, hide the target if required //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 //Update the number of conversations if possible too
if(target_conversations){ if(target_conversations){