mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
add requestor, wip
This commit is contained in:
@@ -35,6 +35,9 @@ let initPromise = getAccompanyingCourse(id)
|
||||
//console.log('### mutation: add participation', participation);
|
||||
state.accompanyingCourse.participations.push(participation);
|
||||
},
|
||||
addRequestor(state, requestor) {
|
||||
console.log(requestor);
|
||||
},
|
||||
},
|
||||
actions: {
|
||||
removeParticipation({ commit }, payload) {
|
||||
@@ -63,6 +66,10 @@ let initPromise = getAccompanyingCourse(id)
|
||||
state.errorMsg.push(error.message);
|
||||
});
|
||||
},
|
||||
addRequestor({ commit }, payload) {
|
||||
console.log(payload);
|
||||
commit('addRequestor', payload);
|
||||
}
|
||||
}
|
||||
});
|
||||
resolve(store);
|
||||
|
Reference in New Issue
Block a user