diff options
Diffstat (limited to 'src/components/WeatherCurrent.svelte')
-rw-r--r-- | src/components/WeatherCurrent.svelte | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/components/WeatherCurrent.svelte b/src/components/WeatherCurrent.svelte index 8578692..9c47873 100644 --- a/src/components/WeatherCurrent.svelte +++ b/src/components/WeatherCurrent.svelte @@ -95,7 +95,11 @@ <div class="weatherCurrent-data-location"> {#if !$navigator_location.updating && $navigator_location.available && !$earth_weather.updating && !$space_weather.updating} <i class="symbol fas fa-map-marker-alt"></i> - <h1>{$navigator_location.city}</h1> + {#if $navigator_location.city !== undefined} + <h1>{$navigator_location.city}</h1> + {:else} + <h1>long: {$navigator_location.longitude}<br />lat: {$navigator_location.latitude}</h1> + {/if} {/if} </div> |