X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/2648d9d1b739d7d4c402b639fa31dcfa9ae5890d..HEAD:/src/components/LastUpdated.svelte?ds=sidebyside diff --git a/src/components/LastUpdated.svelte b/src/components/LastUpdated.svelte index 3f914ce..0d7768d 100644 --- a/src/components/LastUpdated.svelte +++ b/src/components/LastUpdated.svelte @@ -1,15 +1,29 @@ @@ -34,7 +48,7 @@
-
+
Loading data from API ...
@@ -48,11 +62,14 @@
{/if}
-
+
{#if last_updated_date} Data last updated: - {timeago.format(new Date(last_updated_date))} + + {timeago.format(new Date(last_updated_date))} + {/if} + (Details)