fix(front/CopyableText): don't display title when not provided

This commit is contained in:
Alice Gaudon 2022-03-06 13:21:04 +01:00
parent ee56113808
commit cb5001ce6e

View File

@ -110,7 +110,9 @@
</button>
{:else}
<div class="copyable-text panel">
{#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>