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:
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