add additional contact component
This commit is contained in:
parent
4be9fea9fc
commit
419e6a1a71
4 changed files with 273 additions and 47 deletions
|
|
@ -343,6 +343,12 @@ export default {
|
|||
}
|
||||
return i
|
||||
})
|
||||
if (Array.isArray(data.contacts.peoples)) {
|
||||
data.contacts.peoples = data.contacts.peoples.map(p => {
|
||||
delete p._id
|
||||
return p
|
||||
})
|
||||
}
|
||||
this.$apitator.put('/delegate', data, { withAuth: true }).then(() => {
|
||||
this.isSaving = false
|
||||
this.$store.commit('ADD_ALERT', {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue