mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-26 05:49:22 +00:00
Show conversation logo on sidebar
This commit is contained in:
parent
4fdb74d9d0
commit
ca7768c8a7
@ -556,11 +556,18 @@ const SidebarMain = {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Icon
|
// Icon
|
||||||
|
if (conv.logo == null)
|
||||||
createElem2({
|
createElem2({
|
||||||
appendTo: a,
|
appendTo: a,
|
||||||
type: "i",
|
type: "i",
|
||||||
class: "fa fa-comments"
|
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