mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-22 12:09:21 +00:00
Show conversation logo on sidebar
This commit is contained in:
parent
4fdb74d9d0
commit
ca7768c8a7
@ -556,11 +556,18 @@ const SidebarMain = {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Icon
|
// Icon
|
||||||
createElem2({
|
if (conv.logo == null)
|
||||||
appendTo: a,
|
createElem2({
|
||||||
type: "i",
|
appendTo: a,
|
||||||
class: "fa fa-comments"
|
type: "i",
|
||||||
});
|
class: "fa fa-comments"
|
||||||
|
});
|
||||||
|
else
|
||||||
|
createElem2({
|
||||||
|
appendTo: a,
|
||||||
|
type: "img",
|
||||||
|
src: conv.logo
|
||||||
|
});
|
||||||
|
|
||||||
// Conversation name
|
// Conversation name
|
||||||
createElem2({
|
createElem2({
|
||||||
|
Loading…
Reference in New Issue
Block a user