CourseLocation: fix errors

This commit is contained in:
Mathieu Jaumotte 2021-08-18 20:10:43 +02:00
parent 9d655d92f2
commit d652771af0
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ export default {
personId: this.person.id personId: this.person.id
}; };
this.$store.dispatch('updateLocation', payload); this.$store.dispatch('updateLocation', payload);
window.location.assign('#section-50'); window.location.assign('#section-20');
this.modal.showModal = false; this.modal.showModal = false;
} }
} }

View File

@ -64,7 +64,7 @@ export default {
emits: ['remove'], emits: ['remove'],
computed: { computed: {
hasCurrentHouseholdAddress() { hasCurrentHouseholdAddress() {
if ( !this.resource.resource.type === 'person' if ( this.resource.resource.type === 'person'
&& this.resource.resource.current_household_address !== null ) { && this.resource.resource.current_household_address !== null ) {
return true; return true;
} }