Making filter drawer in automations full width.

This commit is contained in:
mike12345567 2021-09-16 13:45:22 +01:00
parent 00bd9db7c9
commit 3113368c26
1 changed files with 2 additions and 1 deletions

View File

@ -33,6 +33,7 @@
export let schemaProperties export let schemaProperties
let drawer let drawer
let tempFilters = lookForFilters(schemaProperties) || [] let tempFilters = lookForFilters(schemaProperties) || []
let fillWidth = true
$: stepId = block.stepId $: stepId = block.stepId
$: bindings = getAvailableBindings( $: bindings = getAvailableBindings(
@ -140,7 +141,7 @@
/> />
{:else if value.customType === "filters"} {:else if value.customType === "filters"}
<ActionButton on:click={drawer.show}>Define filters</ActionButton> <ActionButton on:click={drawer.show}>Define filters</ActionButton>
<Drawer bind:this={drawer} title="Filtering"> <Drawer bind:this={drawer} {fillWidth} title="Filtering">
<Button cta slot="buttons" on:click={() => saveFilters(key)} <Button cta slot="buttons" on:click={() => saveFilters(key)}
>Save</Button >Save</Button
> >