diff --git a/frontend/src/modules/member/components/form/member-form-organizations-drawer.vue b/frontend/src/modules/member/components/form/member-form-organizations-drawer.vue index 30524ac81e..af73fbe5db 100644 --- a/frontend/src/modules/member/components/form/member-form-organizations-drawer.vue +++ b/frontend/src/modules/member/components/form/member-form-organizations-drawer.vue @@ -122,6 +122,10 @@ const save = () => { }), ), }, + messageOptions: { + title: 'Contact\'s organizations were updated successfully', + message: 'Activities will soon be affiliated to organizations in the background.', + }, }); }; diff --git a/frontend/src/shared/store/actions.js b/frontend/src/shared/store/actions.js index f8dfd81222..ca6cbbe36e 100644 --- a/frontend/src/shared/store/actions.js +++ b/frontend/src/shared/store/actions.js @@ -153,7 +153,7 @@ export default (moduleName, moduleService = null) => { }, async doUpdate({ commit }, { - id, values, successMessage, errorMessage, + id, values, successMessage, errorMessage, messageOptions, }) { try { commit('UPDATE_STARTED'); @@ -166,6 +166,7 @@ export default (moduleName, moduleService = null) => { commit('UPDATE_SUCCESS', response); Message.success( successMessage || i18n(`entities.${moduleName}.update.success`), + messageOptions, ); return response;