From 1384c01fa964edde3eeec545ba811198f7514239 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sat, 8 Feb 2025 20:53:32 +0100 Subject: [PATCH] Add hyphen to readonly state --- .../lib/tags-selector/tags-selector.component.html | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) 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 cb86be915..1b6817724 100644 --- a/libs/ui/src/lib/tags-selector/tags-selector.component.html +++ b/libs/ui/src/lib/tags-selector/tags-selector.component.html @@ -2,11 +2,15 @@
@if (readonly) {
Tags
- - @for (tag of tags; track tag) { - {{ tag.name }} - } - + @if (tags?.length > 0) { + + @for (tag of tags; track tag) { + {{ tag.name }} + } + + } @else { +
-
+ } } @else { Tags