1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

Also show position if text based position is not available.

This commit is contained in:
Patrik J. Braun 2023-08-05 01:07:37 +02:00
parent a14c2ff45d
commit d822e7b223
2 changed files with 2 additions and 2 deletions

View File

@ -128,7 +128,7 @@
</div>
<div class="row" *ngIf="hasPositionData()">
<div class="row" *ngIf="hasTextPositionData() || hasGPS()">
<div class="col-2">
<span class="details-icon oi oi-map-marker"></span>
</div>

View File

@ -159,7 +159,7 @@ export class InfoPanelLightboxComponent implements OnInit, OnChanges {
return '1/' + Math.round(1 / f);
}
hasPositionData(): boolean {
hasTextPositionData(): boolean {
return (
!!(this.media as PhotoDTO).metadata.positionData &&
!!(