AW-7266 NG0956: The configured tracking expression (track by identity) caused re-creation of the entire collection
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
<div class="gradient-list" [ngClass]="{'visible':listVisible}">
|
||||
@if (gradientItems) {
|
||||
<ul>
|
||||
@for (item of gradientItems; track item) {
|
||||
@for (item of gradientItems; track item.code) {
|
||||
<li (click)="handleSelect(item)" [ngClass]="{'bg-primary':isSelected(item),'text-white':isSelected(item)} ">
|
||||
<div>{{item?.name}}</div>
|
||||
<div><fm-gradient [gradientItem]="item"></fm-gradient></div>
|
||||
|
||||
Reference in New Issue
Block a user