address: automatic return when saving address

This commit is contained in:
nobohan 2021-06-29 15:06:35 +02:00
parent 8109415e05
commit 93a44d8303
2 changed files with 7 additions and 6 deletions

View File

@ -123,6 +123,7 @@ export default {
addressId: this.$store.state.newAddress.address_id,
body: { validFrom: {datetime: `${this.validFrom}T00:00:00+0100`}}
})
window.location.assign(this.backUrl);
}
}
};

View File

@ -57,7 +57,7 @@
</div>
{% endif %}
<a href="{{ path('chill_person_household_address_edit', { 'household_id': household.id, 'address_id' : address.id } ) }}" class="sc-button bt-edit"></a>
{# <a href="{{ path('chill_person_household_address_edit', { 'household_id': household.id, 'address_id' : address.id } ) }}" class="sc-button bt-edit"></a> #}
</div>
</div>
</div>