mirror of
https://github.com/bpatrik/pigallery2.git
synced 2024-12-23 01:27:14 +02:00
Also show position if text based position is not available.
This commit is contained in:
parent
a14c2ff45d
commit
d822e7b223
@ -128,7 +128,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="row" *ngIf="hasPositionData()">
|
<div class="row" *ngIf="hasTextPositionData() || hasGPS()">
|
||||||
<div class="col-2">
|
<div class="col-2">
|
||||||
<span class="details-icon oi oi-map-marker"></span>
|
<span class="details-icon oi oi-map-marker"></span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -159,7 +159,7 @@ export class InfoPanelLightboxComponent implements OnInit, OnChanges {
|
|||||||
return '1/' + Math.round(1 / f);
|
return '1/' + Math.round(1 / f);
|
||||||
}
|
}
|
||||||
|
|
||||||
hasPositionData(): boolean {
|
hasTextPositionData(): boolean {
|
||||||
return (
|
return (
|
||||||
!!(this.media as PhotoDTO).metadata.positionData &&
|
!!(this.media as PhotoDTO).metadata.positionData &&
|
||||||
!!(
|
!!(
|
||||||
|
Loading…
Reference in New Issue
Block a user