Fix issue

This commit is contained in:
Pierre 2018-02-28 16:47:32 +01:00
parent 417ddbca00
commit e2eca704cc

View File

@ -48,7 +48,7 @@ ComunicWeb.components.notifications.service = {
target_conversations.innerHTML = response.conversations;
//If the number of notifications equals 0, hide the target if required
if(response.notifications == 0 && auto_hide)
if(response.conversations == 0 && auto_hide)
target_conversations.style.display = "none";
else
target_conversations.style.display = "block";