close # 1966 Fixed: Client Select Bringing wrong clients
This commit is contained in:
parent
bf0f61ab05
commit
d483be58ed
@ -333,7 +333,11 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
onContactSeleted(index, contact_id) {
|
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_list = false;
|
||||||
this.show.contact_selected = true;
|
this.show.contact_selected = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user