Added no unread conversations message

This commit is contained in:
Pierre
2018-03-03 13:52:25 +01:00
parent e2eca704cc
commit d7c5830616
3 changed files with 23 additions and 0 deletions

View File

@ -234,5 +234,18 @@ ComunicWeb.components.conversations.unreadDropdown = {
}
}
//Display a specific message if there is not any new conversation
if(conversations.length == 0){
//Display a message in the target
createElem2({
appendTo: target,
type: "p",
class: "no-unread-conversation-msg",
innerHTML: "You do not have any unread messages in the conversations you are following..."
});
}
},
}