mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
fix : add chat presupuesto cliente
This commit is contained in:
@ -309,12 +309,13 @@ class Chat {
|
||||
|
||||
}
|
||||
_handleListContactsSuccess(contacts) {
|
||||
if (contacts) {
|
||||
if (contacts.length) {
|
||||
console.log(contacts)
|
||||
contacts.map((c) => {
|
||||
this._addContactToList(c)
|
||||
});
|
||||
} else {
|
||||
this.sideBar.find("#contact-list").removeClass("d-none")
|
||||
this.sideBar.find("#contact-list").addClass("d-none")
|
||||
}
|
||||
this.sideBar.find(".contact-chat").on("click", (e) => {
|
||||
$(".contact-chat").parent().removeClass("active")
|
||||
|
||||
Reference in New Issue
Block a user