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;
|
||||
|
||||
contacts.forEach(function (contact, index) {
|
||||
if (contact.enabled) {
|
||||
this.contact_list.push({
|
||||
index: index,
|
||||
key: contact.id,
|
||||
@ -330,6 +331,7 @@ export default {
|
||||
location: (contact.location) ? contact.location : '',
|
||||
reference: (contact.reference) ? contact.reference : ''
|
||||
});
|
||||
}
|
||||
}, this);
|
||||
})
|
||||
.catch(error => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user