3
0

Prevent double record list fetch on re-drilldown

This commit is contained in:
Jože Fortun 2024-03-28 10:21:28 +01:00
parent cf8de0f845
commit 5a4f9344be

View File

@ -1804,11 +1804,7 @@ export default {
},
setDrillDownFilter (drillDownFilter) {
if (this.activeFilters.includes(this.$t('recordList.drillDown.filter.label'))) {
this.removeFilter(this.activeFilters.indexOf(this.$t('recordList.drillDown.filter.label')))
}
if (drillDownFilter) {
if (!this.drillDownFilter) {
this.activeFilters.push(this.$t('recordList.drillDown.filter.label'))
}