1
0
Fork 0
mirror of synced 2024-10-02 10:08:09 +13:00

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}
>
<header>
<div class="text">{title}</div>
<div class="text">{title || "Bindings"}</div>
<div class="buttons">
<Button secondary quiet on:click={hide}>Cancel</Button>
<slot name="buttons" />

View file

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

View file

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