diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ea3a228e..59123bd50 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fixed the time in market of the portfolio summary to be empty if there is no activity - Fixed an issue with the delete button in the activities filter component +- Fixed the tags in the read-only mode of the tags selector component ## 3.35.0 - 2026-07-27 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 4f9d82ae9..bd56e9318 100644 --- a/libs/ui/src/lib/tags-selector/tags-selector.component.html +++ b/libs/ui/src/lib/tags-selector/tags-selector.component.html @@ -3,22 +3,20 @@ @if (readonly) {
Tags
@if ( - (tags && tags.length > 0) || (tagsReadOnly && tagsReadOnly.length > 0) + tagsSelected().length > 0 || (tagsReadOnly && tagsReadOnly.length > 0) ) { @if (tagsReadOnly) { - @for (tag of tagsReadOnly; track tag) { + @for (tag of tagsReadOnly; track tag.id) { {{ tag.name }} } } - @if (tags) { - @for (tag of tags; track tag) { - {{ tag.name }} - } + @for (tag of tagsSelected(); track tag.id) { + {{ tag.name }} } } @else { -
-
+
} } @else {