Fix issue

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

View File

@ -48,10 +48,10 @@ ComunicWeb.components.notifications.service = {
target_conversations.innerHTML = response.conversations; target_conversations.innerHTML = response.conversations;
//If the number of notifications equals 0, hide the target if required //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"; target_conversations.style.display = "none";
else else
target_conversations.style.display = "block"; target_conversations.style.display = "block";
} }