mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 07:33:50 +00:00
onthefly create new person: adding result in suggested/selected list
This commit is contained in:
@@ -162,10 +162,11 @@ export default {
|
||||
}));
|
||||
},
|
||||
postData() {
|
||||
console.log('postdata before fetch', this.person);
|
||||
postPerson(this.person)
|
||||
.then(person => new Promise((resolve, reject) => {
|
||||
this.person = person;
|
||||
//console.log('post person', person);
|
||||
this.$store.commit('newPriorSuggestion', person);
|
||||
resolve();
|
||||
}));
|
||||
}
|
||||
|
Reference in New Issue
Block a user