close # 1966 Fixed: Client Select Bringing wrong clients

This commit is contained in:
Cüneyt Şentürk 2021-04-08 17:28:18 +03:00
parent bf0f61ab05
commit d483be58ed

View File

@ -333,7 +333,11 @@ export default {
},
onContactSeleted(index, contact_id) {
this.contact = this.contact_list[index];
this.contact_list.forEach(function (contact, index) {
if (contact_id == contact.id) {
this.contact = contact;
}
}, this);
this.show.contact_list = false;
this.show.contact_selected = true;