diff --git a/libs/ui/src/lib/tags-selector/tags-selector.component.html b/libs/ui/src/lib/tags-selector/tags-selector.component.html index 3fcb0ffcb..4994ed7b4 100644 --- a/libs/ui/src/lib/tags-selector/tags-selector.component.html +++ b/libs/ui/src/lib/tags-selector/tags-selector.component.html @@ -42,9 +42,12 @@ {{ tag.name }} } - @if ((filteredOptions | async)?.length === 0) { - - Create new tag "{{ tagInputControl.value }}" + @if (tagInputControl.value && hasPermissionToCreateTags) { + + + + Create new tag "{{ tagInputControl.value.trim() }}" + }