diff --git a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/PersonsAssociated.vue b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/PersonsAssociated.vue
index f04674cef..79a9df5a6 100644
--- a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/PersonsAssociated.vue
+++ b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/components/PersonsAssociated.vue
@@ -11,22 +11,30 @@
@@ -78,6 +86,7 @@ export default {
},
computed: {
...mapState({
+ courseId: state => state.accompanyingCourse.id,
participations: state => state.accompanyingCourse.participations
}),
currentParticipations() {
@@ -88,6 +97,9 @@ export default {
},
participationWithoutHousehold() {
return this.currentParticipations.filter(p => p.person.current_household_id === null);
+ },
+ getReturnPath() {
+ return window.location.pathname + window.location.search + window.location.hash;
}
},
methods: {
@@ -118,6 +130,7 @@ div#accompanying-course {
margin: 0 0 -1em;
}
div.no-household {
+ padding-bottom: 1.5em;
display: flex;
flex-direction: row;
& > i {
@@ -125,7 +138,7 @@ div#accompanying-course {
padding-top: 0.2em;
opacity: 0.75;
}
- & > div {
+ & > form {
flex-basis: auto;
div.action {
button.btn-update {