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

This commit is contained in:
2026-01-30 13:40:47 +01:00
parent a6bd28ac45
commit 48261c9657
10 changed files with 10 additions and 10 deletions

View File

@@ -2,7 +2,7 @@
@if (itemLayers.length > 0) {
<div class="layerlist">
<div class="list-group">
@for (itemLayer of itemLayers; track itemLayer) {
@for (itemLayer of itemLayers; track itemLayer.code) {
<div class="list-group-item list-group-item-action p-2 text-truncate" [ngClass]="{'active' : selectedLayer==itemLayer}">
<div (click)="handleSelectLayer($event,itemLayer)" [title]="itemLayer.item.name">{{itemLayer.item.name}}</div>
@if (selectedLayer==itemLayer && !baseLayers) {