|
|
|
@ -42,9 +42,11 @@ const filtersLength = ref(0)
|
|
|
|
|
|
|
|
|
|
watch( |
|
|
|
|
() => activeView?.value, |
|
|
|
|
async () => { |
|
|
|
|
async (view) => { |
|
|
|
|
if (view?.id) { |
|
|
|
|
await loadFilters() |
|
|
|
|
filtersLength.value = filters.value.length || 0 |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
{ immediate: true }, |
|
|
|
|
) |
|
|
|
@ -83,7 +85,8 @@ const filterAutoSaveLoc = computed({
|
|
|
|
|
@update:filters-length="filtersLength = $event" |
|
|
|
|
> |
|
|
|
|
<div v-if="!isPublic" class="flex items-end mt-2 min-h-[30px]" @click.stop> |
|
|
|
|
<a-checkbox id="col-filter-checkbox" v-model:checked="filterAutoSaveLoc" class="col-filter-checkbox" hide-details dense> |
|
|
|
|
<a-checkbox id="col-filter-checkbox" v-model:checked="filterAutoSaveLoc" class="col-filter-checkbox" |
|
|
|
|
hide-details dense> |
|
|
|
|
<span class="text-grey text-xs"> |
|
|
|
|
{{ $t('msg.info.filterAutoApply') }} |
|
|
|
|
<!-- Auto apply --> |
|
|
|
|