mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
Fixed: [vue][accompanyingCourse] typeError in toaster when removing referrer
https://gitlab.com/champs-libres/departement-de-la-vendee/chill/-/issues/667
This commit is contained in:
parent
fb8f74119f
commit
ff7f5a5dd3
@ -785,7 +785,7 @@ let initPromise = (root) => Promise.all([getScopesPromise(root), accompanyingCou
|
|||||||
return makeFetch('PATCH', url, body)
|
return makeFetch('PATCH', url, body)
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
commit('updateReferrer', response.user);
|
commit('updateReferrer', response.user);
|
||||||
if (null !== payload.user_job && payload.user_job !== state.accompanyingCourse.job) {
|
if (null !== payload && null !== payload.user_job && payload.user_job !== state.accompanyingCourse.job) {
|
||||||
this.dispatch('updateJob', payload.user_job);
|
this.dispatch('updateJob', payload.user_job);
|
||||||
}
|
}
|
||||||
// commit('setFilteredReferrersSuggested'); // this mutation doesn't exist?
|
// commit('setFilteredReferrersSuggested'); // this mutation doesn't exist?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user