diff --git a/CHANGELOG.md b/CHANGELOG.md index c90c602e0..0a2f2537a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,10 +11,17 @@ and this project adheres to ## Unreleased -* [household] do not allow to create two addresses on the same date + ## Test releases +### Test release 2021-11-19 - bis + +* [household] do not allow to create two addresses on the same date +* [activity] handle case when there is no social action associated to social issue +* [activity] layout for issues / actions +* [activity][bugfix] in edit mode, the form will now load the social action list + ### Test release 2021-11-29 * [person] suggest entities (person | thirdparty) when creating/editing the accompanying course (https://gitlab.com/champs-libres/departement-de-la-vendee/accent-suivi-developpement/-/issues/119) diff --git a/src/Bundle/ChillActivityBundle/Resources/public/vuejs/Activity/components/SocialIssuesAcc.vue b/src/Bundle/ChillActivityBundle/Resources/public/vuejs/Activity/components/SocialIssuesAcc.vue index 004d1a752..92aa7be0e 100644 --- a/src/Bundle/ChillActivityBundle/Resources/public/vuejs/Activity/components/SocialIssuesAcc.vue +++ b/src/Bundle/ChillActivityBundle/Resources/public/vuejs/Activity/components/SocialIssuesAcc.vue @@ -151,6 +151,7 @@ export default { this.issueIsLoading = false; this.actionAreLoaded = true; + this.updateActionsList(); resolve(); })); }, @@ -183,7 +184,6 @@ export default { to get social actions concerned */ updateActionsList() { - //console.log('updateActionsList'); this.resetActionsList(); this.socialIssuesSelected.forEach(item => { @@ -198,6 +198,7 @@ export default { this.$store.commit('filterList', 'actions'); this.actionIsLoading = false; + this.actionAreLoaded = true; resolve(); })); }, this); @@ -206,6 +207,7 @@ export default { */ resetActionsList() { this.$store.commit('resetActionsList'); + this.actionAreLoaded = false; this.socialActionsSelected.forEach(item => { this.$store.commit('addActionInList', item); }, this); diff --git a/src/Bundle/ChillActivityBundle/Resources/public/vuejs/Activity/components/SocialIssuesAcc/CheckSocialAction.vue b/src/Bundle/ChillActivityBundle/Resources/public/vuejs/Activity/components/SocialIssuesAcc/CheckSocialAction.vue index e3727ad43..ac209ac71 100644 --- a/src/Bundle/ChillActivityBundle/Resources/public/vuejs/Activity/components/SocialIssuesAcc/CheckSocialAction.vue +++ b/src/Bundle/ChillActivityBundle/Resources/public/vuejs/Activity/components/SocialIssuesAcc/CheckSocialAction.vue @@ -1,18 +1,18 @@ @@ -34,3 +34,15 @@ export default { } } + +