diff options
author | Jakob Stendahl <jakob.stendahl@outlook.com> | 2022-05-02 23:06:37 +0200 |
---|---|---|
committer | Jakob Stendahl <jakob.stendahl@outlook.com> | 2022-05-02 23:06:37 +0200 |
commit | 30b7af1dbec405b02df794a799a24c6f35dfbdc5 (patch) | |
tree | 4ea4e5705871c4afa43e6dbe668eee8054eed896 /src/components/WeatherCurrent.svelte | |
parent | 365105df0ee6f7d71aed03263783fde840b5b455 (diff) | |
download | Aurora-data-30b7af1dbec405b02df794a799a24c6f35dfbdc5.tar.gz Aurora-data-30b7af1dbec405b02df794a799a24c6f35dfbdc5.zip |
Convert all date strings to ISO861, do some minor design fixes
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> |