Skip to content

Commit

Permalink
fix: asset select issues from bad compare function
Browse files Browse the repository at this point in the history
  • Loading branch information
richardtreier committed Mar 7, 2024
1 parent 521893f commit b49b472
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ the detailed section referring to by linking pull requests or issues.

#### Patch

- Fix asset select issues from bad compare function.

#### Deployment Migration Notes

## [v2.5.0] - 2024-02-28
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<mat-select
multiple
[formControl]="control"
[compareWith]="'id' | compareByField">
[compareWith]="'assetId' | compareByField">
<mat-option *ngFor="let asset of assets" [value]="asset">
<div *ngIf="asset.title" class="flex flex-col">
{{ asset.title }}
Expand Down

0 comments on commit b49b472

Please sign in to comment.