0
0
Fork 0

fix(url): filter

This commit is contained in:
Alex Moreno 2024-06-10 11:53:47 +02:00
parent bbf847e1a0
commit 128904970b
1 changed files with 2 additions and 3 deletions

View File

@ -35,7 +35,7 @@ const $props = defineProps({
},
hiddenTags: {
type: Array,
default: () => [],
default: () => ['filter'],
},
customTags: {
type: Array,
@ -158,7 +158,7 @@ const customTags = computed(() =>
async function remove(key) {
delete params.value[key];
delete params.value.filter?.where[key];
delete params.value.filter?.where?.[key];
params.value[key] = undefined;
await arrayData.applyFilter({ params: params.value });
emit('remove', key);
@ -223,7 +223,6 @@ function formatValue(value) {
{{ t(`No filters applied`) }}
</div>
<div>
{{ tags }}
<VnFilterPanelChip
v-for="chip of tags"
:key="chip.label"