fix(front/CopyableText): don't display title when not provided
This commit is contained in:
parent
ee56113808
commit
cb5001ce6e
@ -110,7 +110,9 @@
|
||||
</button>
|
||||
{:else}
|
||||
<div class="copyable-text panel">
|
||||
<div class="title">{title}</div>
|
||||
{#if title}
|
||||
<div class="title">{title}</div>
|
||||
{/if}
|
||||
<div class="content" bind:this={contentNode} on:click={selectAll}>{content}</div>
|
||||
<button class="bold copy-button" on:click={copy}><Icon name="copy"/></button>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user