confirm modal "are you sure ?"

This commit is contained in:
2021-05-20 15:43:10 +02:00
parent 54d03275cf
commit 199e5a73d8
3 changed files with 70 additions and 37 deletions

View File

@@ -180,6 +180,7 @@ let initPromise = getAccompanyingCourse(id)
confirmAccompanyingCourse(id)
.then(response => new Promise((resolve, reject) => {
commit('confirmAccompanyingCourse', response);
console.log('fetch resolve'); // redirection with #top anchor
resolve();
})).catch((error) => { commit('catchError', error) });
}