Skip to content

Commit

Permalink
fix: hide empty fields on map popup
Browse files Browse the repository at this point in the history
  • Loading branch information
JanssenBrm committed Aug 20, 2023
1 parent 9d18c48 commit f7f640b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/map/map.page.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,23 @@
{{activeVineyard?.address}}
</div>
</div>
<div class="row">
<div class="row" *ngIf="(varieties | async)?.length > 0">
<div class="icon">
<ion-icon name="leaf-outline"></ion-icon>
</div>
<div>
{{getVarieties((varieties | async))}}
</div>
</div>
<div class="row">
<div class="row" *ngIf="(varieties | async)?.length > 0">
<div class="icon">
<ion-icon name="pricetags-outline"></ion-icon>
</div>
<div>
{{getVarietyCount((varieties | async))}} plants
</div>
</div>
<div class="row">
<div class="row" *ngIf="(actions | async)?.length > 0">
<div class="icon">
<ion-icon name="time-outline"></ion-icon>
</div>
Expand Down

0 comments on commit f7f640b

Please sign in to comment.