Fix double-showing of distance
This commit is contained in:
parent
6fcaf7fb5d
commit
c9802b78d0
1 changed files with 2 additions and 2 deletions
|
|
@ -954,14 +954,14 @@
|
|||
>Distance from Reporter</small
|
||||
>
|
||||
<template
|
||||
x-if="selectedCommunication.public_report.images[currentPhotoIndex].location?.latitude != 0"
|
||||
x-if="selectedCommunication.public_report.images[currentPhotoIndex].location != null"
|
||||
>
|
||||
<span
|
||||
x-text="formatDistance(selectedCommunication.public_report.images[currentPhotoIndex].distance_from_reporter_meters)"
|
||||
></span>
|
||||
</template>
|
||||
<template
|
||||
x-if="selectedCommunication.public_report.images[currentPhotoIndex].location?.latitude == 0"
|
||||
x-if="selectedCommunication.public_report.images[currentPhotoIndex].location == null"
|
||||
>
|
||||
<span>No location data in image</span>
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue