mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
Address: replace variable entity.type by entity.name
This commit is contained in:
@@ -54,7 +54,7 @@ export default {
|
||||
assignAddress() {
|
||||
//console.log('assignAddress id', this.person.current_household_address);
|
||||
let payload = {
|
||||
entity: this.context.entity.type,
|
||||
entity: this.context.entity.name,
|
||||
entityId: this.context.entity.id,
|
||||
locationStatusTo: 'person',
|
||||
personId: this.person.id
|
||||
|
@@ -119,7 +119,7 @@ export default {
|
||||
initAddressContext() {
|
||||
let context = {
|
||||
entity: {
|
||||
type: this.accompanyingCourse.type,
|
||||
name: this.accompanyingCourse.type,
|
||||
id: this.accompanyingCourse.id
|
||||
},
|
||||
edit: false,
|
||||
@@ -134,7 +134,7 @@ export default {
|
||||
removeAddress() {
|
||||
//console.log('remove address');
|
||||
let payload = {
|
||||
entity: this.context.entity.type,
|
||||
entity: this.context.entity.name,
|
||||
entityId: this.context.entity.id,
|
||||
locationStatusTo: 'none'
|
||||
};
|
||||
|
Reference in New Issue
Block a user