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>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<div [ngClass]="{'minimized': uploadService.isMinimized }">
|
||||
<div class="card-block p-3">
|
||||
<ul class="list-unstyled">
|
||||
@for (file of uploadService.files; track file) {
|
||||
@for (file of uploadService.files; track $index) {
|
||||
<li class="upload-file busy" [ngClass]="{'done': file.success,'busy':file.success == false,'error': file.error }">
|
||||
@if (file.success == false) {
|
||||
<div><span class="file-name" [attr.title]="file?.fileName">{{file.fileName}}</span><span class="fal fa-times" title="Cancel" (click)="uploadService.cancelFile(file)"></span><span class="fal fa-check"></span></div>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<div class="tags">
|
||||
@for (tag of tags; track tag) {
|
||||
@for (tag of tags; track $index) {
|
||||
<span class="tag rounded bg-primary text-white"><span>{{tag}}</span> <i
|
||||
(click)="handleDeleteTag(tag)" class="fal fa-times" aria-hidden="true"></i></span>
|
||||
}<input
|
||||
|
||||
Reference in New Issue
Block a user