fix(filters): remove footer when editing a saved filter
This commit is contained in:
parent
4e26fa0b85
commit
f3e2b1b89b
@ -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>()
|
||||||
|
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user