fix:location names
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
id: string;
|
id: string;
|
||||||
latitude: string;
|
latitude: string;
|
||||||
longitude: string;
|
longitude: string;
|
||||||
|
locationName?: string | null;
|
||||||
createdAt: string;
|
createdAt: string;
|
||||||
userId: string;
|
userId: string;
|
||||||
username: string;
|
username: string;
|
||||||
@@ -44,7 +45,9 @@
|
|||||||
</svg>
|
</svg>
|
||||||
<div>
|
<div>
|
||||||
<h3 class="title">
|
<h3 class="title">
|
||||||
{#if location.distance !== undefined}
|
{#if location.locationName}
|
||||||
|
{location.locationName}
|
||||||
|
{:else if location.distance !== undefined}
|
||||||
{formatDistance(location.distance)} away
|
{formatDistance(location.distance)} away
|
||||||
{:else}
|
{:else}
|
||||||
Location
|
Location
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
id: string;
|
id: string;
|
||||||
latitude: string;
|
latitude: string;
|
||||||
longitude: string;
|
longitude: string;
|
||||||
|
locationName?: string | null;
|
||||||
createdAt: string;
|
createdAt: string;
|
||||||
userId: string;
|
userId: string;
|
||||||
username: string;
|
username: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user