mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-29 15:26:27 +00:00
Fix issue
This commit is contained in:
parent
417ddbca00
commit
e2eca704cc
@ -48,7 +48,7 @@ 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";
|
||||||
|
Loading…
Reference in New Issue
Block a user