mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-06-19 04:15:17 +00:00
Remove label from sidebar
This commit is contained in:
@ -75,12 +75,12 @@ const SidebarMain = {
|
||||
this.addSearchForm(section);
|
||||
|
||||
// User memberships
|
||||
createElem2({
|
||||
/*createElem2({
|
||||
appendTo: section,
|
||||
type: "div",
|
||||
class: "intermediate-label hide-on-collapse",
|
||||
innerHTML: "FRIENDS & GROUPS"
|
||||
});
|
||||
});*/
|
||||
let userMemberships = createElem2({
|
||||
appendTo: section,
|
||||
type: "div",
|
||||
@ -544,6 +544,11 @@ const SidebarMain = {
|
||||
});
|
||||
li.setAttribute("data-membership-conv-id", conv.ID)
|
||||
|
||||
// Check for unread messages
|
||||
if(!conv.saw_last_message) {
|
||||
li.classList.add("has-unread-msg");
|
||||
}
|
||||
|
||||
let a = createElem2({
|
||||
appendTo: li,
|
||||
type: "a",
|
||||
|
Reference in New Issue
Block a user