1
0

fix(filters): remove footer when editing a saved filter

This commit is contained in:
kolaente 2024-03-09 18:46:06 +01:00
parent 4e26fa0b85
commit f3e2b1b89b
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B
2 changed files with 6 additions and 1 deletions

View File

@ -21,7 +21,7 @@
<FilterInputDocs/> <FilterInputDocs/>
<template #footer> <template v-if="hasFooter" #footer>
<x-button <x-button
variant="primary" variant="primary"
@click.prevent.stop="change()" @click.prevent.stop="change()"
@ -53,6 +53,10 @@ const props = defineProps({
type: Boolean, type: Boolean,
default: false, default: false,
}, },
hasFooter: {
type: Boolean,
default: true,
},
}) })
const modelValue = defineModel<TaskFilterParams>() const modelValue = defineModel<TaskFilterParams>()

View File

@ -59,6 +59,7 @@
:class="{ 'disabled': filterService.loading}" :class="{ 'disabled': filterService.loading}"
:disabled="filterService.loading" :disabled="filterService.loading"
class="has-no-shadow has-no-border" class="has-no-shadow has-no-border"
:has-footer="false"
/> />
</div> </div>
</div> </div>