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