fix(filters): remove footer when editing a saved filter
This commit is contained in:
parent
4e26fa0b85
commit
f3e2b1b89b
@ -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>()
|
||||
|
@ -59,6 +59,7 @@
|
||||
:class="{ 'disabled': filterService.loading}"
|
||||
:disabled="filterService.loading"
|
||||
class="has-no-shadow has-no-border"
|
||||
:has-footer="false"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user