Fix some issues
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

This commit is contained in:
Willem Dantuma 2020-05-21 18:18:38 +02:00
parent 506b15cd4f
commit d56cfa805b
2 changed files with 32 additions and 30 deletions

View File

@ -1,4 +1,5 @@
<div class="layerlist" *ngIf="itemLayers.length > 0;else noLayers">
<div>
<div class="layerlist" *ngIf="itemLayers.length > 0;else noLayers">
<div class="list-group">
<div *ngFor="let itemLayer of itemLayers" 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>
@ -21,6 +22,7 @@
</div>
</div>
</div>
</div>
</div>
<ng-template #noLayers>
<div class="list-group">

View File

@ -13,7 +13,7 @@
</div>
<div class="card menu-card">
<ul class="navbar-nav">
<li class="nav-item py-0" *fm-haspackage="'vnd.farmmaps.package.agriroute'"><a [routerLinkActive]="['active']" [routerLink]="['/agrirouter']" class="nav-link"><span i18n><i class="fa fa-plug" aria-hidden="true"></i> agrirouter</span></a></li>
<li class="nav-item py-0" *fm-haspackage="'vnd.farmmaps.package.agriroute'"><a [routerLinkActive]="['active']" [routerLink]="['/agrirouter']" class="nav-link"><span><i class="fa fa-plug" aria-hidden="true"></i> <span i18n>agrirouter</span></span></a></li>
</ul>
</div>
</div>