Add more instances of useful drawer titles
This commit is contained in:
parent
c12d3cffc3
commit
7bf8a8b530
|
@ -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" />
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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}>
|
||||||
|
|
Loading…
Reference in New Issue