comment out success message parcours start date

This commit is contained in:
2022-04-20 14:18:24 +02:00
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}));