UBERF-6322 Do not allow empty label creation (#5177)

Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
Alexander Onnikov 2024-04-04 01:02:53 +07:00 committed by GitHub
parent 1664419b7b
commit 76db760ae3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -219,7 +219,7 @@
{/if}
{/each}
{#if objects.length === 0}
{#if !hideAdd}
{#if !hideAdd && search !== ''}
<button class="menu-item focus flex-row-center" on:click={createTagElementQuick}>
<Label label={tags.string.QuickAddItems} params={{ word: keyLabel, title: search }} />
</button>