Merge pull request #2782 from brkcvn/master
Disabled contacts show in contact area
This commit is contained in:
commit
62ed0a7344
@ -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 => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user