disabled contact control

This commit is contained in:
Burak Civan
2022-11-29 14:49:25 +03:00
parent 6d43a4fa96
commit d960778f6c

View File

@ -310,6 +310,7 @@ export default {
let contacts = response.data.data; let contacts = response.data.data;
contacts.forEach(function (contact, index) { contacts.forEach(function (contact, index) {
if (contact.enabled) {
this.contact_list.push({ this.contact_list.push({
index: index, index: index,
key: contact.id, key: contact.id,
@ -330,6 +331,7 @@ export default {
location: (contact.location) ? contact.location : '', location: (contact.location) ? contact.location : '',
reference: (contact.reference) ? contact.reference : '' reference: (contact.reference) ? contact.reference : ''
}); });
}
}, this); }, this);
}) })
.catch(error => { .catch(error => {