1
0

fix(filters): lint

This commit is contained in:
kolaente
2024-03-13 17:21:20 +01:00
parent 15215b30a0
commit fc4eed6eb4
5 changed files with 168 additions and 200 deletions

View File

@ -2,6 +2,7 @@
<x-button
variant="secondary"
icon="filter"
:class="{'has-filters': hasFilters}"
@click="() => modalOpen = true"
>
{{ $t('filters.title') }}
@ -68,10 +69,6 @@ const hasFilters = computed(() => {
})
const modalOpen = ref(false)
function clearFilters() {
value.value = {...getDefaultTaskFilterParams()}
}
</script>
<style scoped lang="scss">

View File

@ -27,8 +27,8 @@
>
<x-button
variant="secondary"
@click.prevent.stop="clearFiltersAndEmit"
class="mr-2"
@click.prevent.stop="clearFiltersAndEmit"
>
{{ $t('filters.clear') }}
</x-button>