NG0956 Tracking expression caused re-creation of the DOM structure.
Some checks failed
FarmMaps.Develop/FarmMapsLib/pipeline/head There was a failure building this commit
Some checks failed
FarmMaps.Develop/FarmMapsLib/pipeline/head There was a failure building this commit
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