From 469a0ad83785bcd054934a4ac332f956d2f2484d Mon Sep 17 00:00:00 2001 From: kolaente Date: Tue, 23 Nov 2021 20:16:39 +0100 Subject: [PATCH] fix: edit saved filter title --- src/views/filters/settings/edit.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/views/filters/settings/edit.vue b/src/views/filters/settings/edit.vue index c1d873ae..8104776d 100644 --- a/src/views/filters/settings/edit.vue +++ b/src/views/filters/settings/edit.vue @@ -61,6 +61,7 @@ import SavedFilterService from '@/services/savedFilter' import ListModel from '@/models/list' import Filters from '@/components/list/partials/filters.vue' import {objectToSnakeCase} from '@/helpers/case' +import {CURRENT_LIST} from '../../../store/mutation-types' export default { name: 'filter-settings-edit', @@ -120,6 +121,8 @@ export default { this.success({message: this.$t('filters.attributes.edit.success')}) this.filter = r this.filters = objectToSnakeCase(this.filter.filters) + this.$store.commit(CURRENT_LIST, r) + this.setTitle(this.getListTitle(r)) this.$router.back() }) .catch(e => this.error(e))