X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/c9687b102bb6f544a034dc4d508bf0ae4a5fc221..c061d3fd3d4c9135fdbda0af273d9fc0dc5b5535:/src/pages/DetailsPage.svelte?ds=sidebyside
diff --git a/src/pages/DetailsPage.svelte b/src/pages/DetailsPage.svelte
index 47c0298..d480050 100644
--- a/src/pages/DetailsPage.svelte
+++ b/src/pages/DetailsPage.svelte
@@ -1,23 +1,26 @@
+
+{#if errorResponse}
+ {errorResponse.error.message}
+{/if}
{#if aPlace}
-{:else if (location.search === '')}
-
+{:else if (window.location.search === '')}
+
{:else}
No such place found.
{/if}
@@ -267,7 +288,7 @@
padding-left: 8px;
}
- h1 small a {
+ h1 small :global(a) {
font-size: 0.5em;
white-space: nowrap;
}
@@ -309,4 +330,4 @@
height:300px;
border: 1px solid #666;
}
-
\ No newline at end of file
+