Skip to content
Snippets Groups Projects
Commit 049db2db authored by Erik Kimmel's avatar Erik Kimmel
Browse files

feat: test if there are GPS coordinates before displaying the map. GNP-5433.

parent e412001b
No related branches found
No related tags found
1 merge request!6Create site card. Fix GNP-5433.
......@@ -8,7 +8,7 @@
Site: {{ site.result.name }}
</h1>
</div>
<gpds-map [sites]="sites" *ngIf="site"></gpds-map>
<gpds-map [sites]="sites" *ngIf="site && site.result.latitude && site.result.longitude"></gpds-map>
<div *ngIf="site">
<br/>
<h4>Details:</h4>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment