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
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 6 additions and 1 deletions

View File

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

View File

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