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