Add more instances of useful drawer titles

This commit is contained in:
Andrew Kingston 2024-02-27 13:30:11 +00:00
parent c12d3cffc3
commit 7bf8a8b530
3 changed files with 3 additions and 3 deletions

View File

@ -161,7 +161,7 @@
{style} {style}
> >
<header> <header>
<div class="text">{title}</div> <div class="text">{title || "Bindings"}</div>
<div class="buttons"> <div class="buttons">
<Button secondary quiet on:click={hide}>Cancel</Button> <Button secondary quiet on:click={hide}>Cancel</Button>
<slot name="buttons" /> <slot name="buttons" />

View File

@ -77,7 +77,7 @@
{/if} {/if}
</div> </div>
<Drawer bind:this={bindingDrawer} {title}> <Drawer bind:this={bindingDrawer} title={title ?? placeholder ?? "Bindings"}>
<Button cta slot="buttons" on:click={handleClose} disabled={!valid}> <Button cta slot="buttons" on:click={handleClose} disabled={!valid}>
Save Save
</Button> </Button>

View File

@ -173,7 +173,7 @@
on:drawerShow on:drawerShow
{fillWidth} {fillWidth}
bind:this={bindingDrawer} bind:this={bindingDrawer}
{title} title={title ?? placeholder ?? "Bindings"}
left={drawerLeft} left={drawerLeft}
> >
<Button cta slot="buttons" disabled={!valid} on:click={saveBinding}> <Button cta slot="buttons" disabled={!valid} on:click={saveBinding}>