mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-26 05:49:22 +00:00
Update sidebar
This commit is contained in:
parent
f13a60ef90
commit
0479a4d7a5
@ -132,8 +132,8 @@ add left border
|
|||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.main-sidebar .memberships-list .conversation_memberhsip.group-conversation {
|
.main-sidebar .memberships-list .group-conversation {
|
||||||
padding-left: 20px;
|
margin-left: 25px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-sidebar .memberships-list .conversation_memberhsip.has-unread-msg {
|
.main-sidebar .memberships-list .conversation_memberhsip.has-unread-msg {
|
||||||
|
@ -88,12 +88,12 @@ const SidebarMain = {
|
|||||||
});
|
});
|
||||||
|
|
||||||
this.refreshMemberships(userMemberships);
|
this.refreshMemberships(userMemberships);
|
||||||
/* TODO RESET let interval = setInterval(() => {
|
let interval = setInterval(() => {
|
||||||
if(userMemberships.isConnected)
|
if(userMemberships.isConnected)
|
||||||
this.refreshMemberships(userMemberships);
|
this.refreshMemberships(userMemberships);
|
||||||
else
|
else
|
||||||
clearInterval(interval);
|
clearInterval(interval);
|
||||||
}, 15000);*/
|
}, 15000);
|
||||||
|
|
||||||
|
|
||||||
/*// Recent conversations
|
/*// Recent conversations
|
||||||
@ -360,10 +360,12 @@ const SidebarMain = {
|
|||||||
innerHTML: "<div style='height: 50px'></div>",
|
innerHTML: "<div style='height: 50px'></div>",
|
||||||
});
|
});
|
||||||
|
|
||||||
$(friendsTarget).slimscroll({
|
$.AdminLTE.layout.fixSidebar();
|
||||||
|
|
||||||
|
/*$(friendsTarget).slimscroll({
|
||||||
flex: 2,
|
flex: 2,
|
||||||
height: "100%"
|
height: "100%"
|
||||||
});
|
});*/
|
||||||
|
|
||||||
// Highlight active element
|
// Highlight active element
|
||||||
SidebarMain.refreshActiveElement()
|
SidebarMain.refreshActiveElement()
|
||||||
|
Loading…
Reference in New Issue
Block a user