mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-23 08:48:01 +00:00
UBERF-6322 Do not allow empty label creation (#5177)
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
parent
1664419b7b
commit
76db760ae3
@ -219,7 +219,7 @@
|
|||||||
{/if}
|
{/if}
|
||||||
{/each}
|
{/each}
|
||||||
{#if objects.length === 0}
|
{#if objects.length === 0}
|
||||||
{#if !hideAdd}
|
{#if !hideAdd && search !== ''}
|
||||||
<button class="menu-item focus flex-row-center" on:click={createTagElementQuick}>
|
<button class="menu-item focus flex-row-center" on:click={createTagElementQuick}>
|
||||||
<Label label={tags.string.QuickAddItems} params={{ word: keyLabel, title: search }} />
|
<Label label={tags.string.QuickAddItems} params={{ word: keyLabel, title: search }} />
|
||||||
</button>
|
</button>
|
||||||
|
Loading…
Reference in New Issue
Block a user