fix: use correct translation key filter save success message (#823)

Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/823
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
This commit is contained in:
dpschen 2021-10-04 18:08:30 +00:00 committed by konrad
parent b59b5def57
commit a843cddbc9

View file

@ -117,7 +117,7 @@ export default {
this.filterService.update(this.filter) this.filterService.update(this.filter)
.then(r => { .then(r => {
this.$store.dispatch('namespaces/loadNamespaces') this.$store.dispatch('namespaces/loadNamespaces')
this.$message.success({message: this.$t('filters.attributes.edit.success')}) this.$message.success({message: this.$t('filters.edit.success')})
this.filter = r this.filter = r
this.filters = objectToSnakeCase(this.filter.filters) this.filters = objectToSnakeCase(this.filter.filters)
this.$router.back() this.$router.back()