fix redirection after changing household member

This commit is contained in:
Julien Fastré 2021-06-28 16:22:17 +02:00
parent 2a1f5cbad1
commit 6eaffcae49

View File

@ -303,7 +303,7 @@ const store = createStore({
if (household.type === 'household') {
household_id = household.id;
// nothing to do anymore here, bye-bye !
window.location.replace(`/fr/person/household/${household_id}/members`);
window.location.replace(`/fr/person/household/${household_id}/summary`);
} else {
// we assume the answer was 422...
error = household;