Browse Source
Bugfix/fix tags in readonly mode of tags selector component (#7461)
* Fix tags in read-only mode
* Update changelog
pull/7267/merge
Thomas Kaul
1 day ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
6 additions and
7 deletions
-
CHANGELOG.md
-
libs/ui/src/lib/tags-selector/tags-selector.component.html
|
|
@ -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 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 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 |
|
|
## 3.35.0 - 2026-07-27 |
|
|
|
|
|
|
|
|
|
|
|
@ -3,22 +3,20 @@ |
|
|
@if (readonly) { |
|
|
@if (readonly) { |
|
|
<div class="h5" i18n>Tags</div> |
|
|
<div class="h5" i18n>Tags</div> |
|
|
@if ( |
|
|
@if ( |
|
|
(tags && tags.length > 0) || (tagsReadOnly && tagsReadOnly.length > 0) |
|
|
tagsSelected().length > 0 || (tagsReadOnly && tagsReadOnly.length > 0) |
|
|
) { |
|
|
) { |
|
|
<mat-chip-listbox> |
|
|
<mat-chip-listbox> |
|
|
@if (tagsReadOnly) { |
|
|
@if (tagsReadOnly) { |
|
|
@for (tag of tagsReadOnly; track tag) { |
|
|
@for (tag of tagsReadOnly; track tag.id) { |
|
|
<mat-chip-option disabled>{{ tag.name }}</mat-chip-option> |
|
|
<mat-chip-option disabled>{{ tag.name }}</mat-chip-option> |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
@if (tags) { |
|
|
@for (tag of tagsSelected(); track tag.id) { |
|
|
@for (tag of tags; track tag) { |
|
|
<mat-chip-option disabled>{{ tag.name }}</mat-chip-option> |
|
|
<mat-chip-option disabled>{{ tag.name }}</mat-chip-option> |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
</mat-chip-listbox> |
|
|
</mat-chip-listbox> |
|
|
} @else { |
|
|
} @else { |
|
|
<div>-</div> |
|
|
<div>–</div> |
|
|
} |
|
|
} |
|
|
} @else { |
|
|
} @else { |
|
|
<mat-form-field appearance="outline" class="w-100 without-hint"> |
|
|
<mat-form-field appearance="outline" class="w-100 without-hint"> |
|
|
|