diff --git a/langs/en.json b/langs/en.json index 51286265dd..2a9968421a 100644 --- a/langs/en.json +++ b/langs/en.json @@ -419,6 +419,7 @@ "isDeleted": "Deleted", "nearby": { "link": "This picture shows the object", + "noNearbyImages": "No nearby images were found", "seeNearby": "Browse and link nearby pictures", "title": "Nearby streetview imagery" }, diff --git a/src/UI/Popup/NearbyImages.svelte b/src/UI/Popup/NearbyImages.svelte index c5b14927cc..5f7192862d 100644 --- a/src/UI/Popup/NearbyImages.svelte +++ b/src/UI/Popup/NearbyImages.svelte @@ -35,6 +35,7 @@ ) let images: Store = imagesProvider.store.map((images) => images.slice(0, 20)) + let allDone = imagesProvider.allDone
@@ -44,8 +45,10 @@
- {#if $images.length === 0} + {#if !$allDone} + {:else if $images.length === 0} + {:else}
{#each $images as image (image.pictureUrl)}