comment out success message parcours start date

This commit is contained in:
Julie Lenaerts 2022-04-20 14:18:24 +02:00
commit c17d20f945
2 changed files with 2 additions and 1 deletions

View File

@ -28,6 +28,7 @@ export default {
const date = e.target.previousSibling.value;
this.$store.dispatch('updateStartDate', date)
// .then(this.$toast.open({type: 'success', message: this.$t('startdate.update')}))
.catch(({name, violations}) => {
if (name === 'ValidationException' || name === 'AccessException') {
violations.forEach((violation) => this.$toast.open({message: violation}));

View File

@ -153,7 +153,7 @@ const appMessages = {
},
startdate: {
change: "Date d'ouverture",
update: "La nouvelle date d'ouverture a été bien enregistrée"
// update: "La nouvelle date d'ouverture a été enregistrée"
},
// catch errors
'Error while updating AccompanyingPeriod Course.': "Erreur du serveur lors de la mise à jour du parcours d'accompagnement.",