courseLocation: commit context addressId change when remove PersonLocation (fix bad address in editPane)

This commit is contained in:
2021-09-22 20:23:55 +02:00
parent 4630e2b80c
commit 98f1f19e9a
3 changed files with 8 additions and 4 deletions

View File

@@ -133,12 +133,12 @@ export default {
this.$store.commit('setAddressContext', context);
},
removeAddress() {
//console.log('remove address');
let payload = {
target: this.context.target.name,
targetId: this.context.target.id,
locationStatusTo: 'none'
};
//console.log('remove address');
this.$store.dispatch('updateLocation', payload);
},
displayErrors() {