Add fmPackageExists directive
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

This commit is contained in:
Willem Dantuma
2022-03-16 14:20:28 +01:00
parent 521b882798
commit 713af307cd
7 changed files with 59 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
<div class="row">
<fm-gradient-select [gradientItems]="gradientItems|async" [showLabel]="false" [showAdd]="true"></fm-gradient-select>
</div>
<div class="row mt-3">
<div class="row mt-3" *fmPackageExists="'vnd.farmmaps.itemtype.package.dacom'">
<button class="btn btn-primary" (click)="onTest($event)">Test</button>
</div>
</div>