diff --git a/src/routes/shop/__layout.svelte b/src/routes/shop/__layout.svelte index 6185a20..3ccaf2b 100644 --- a/src/routes/shop/__layout.svelte +++ b/src/routes/shop/__layout.svelte @@ -59,7 +59,6 @@ image="" /> -{#key product}
@@ -138,26 +137,28 @@ -
-

View all of our available posters

-
- {#each posters as { location, photos_product }} - - {/each} -
- -
+ {#if posters} +
+

View all of our available posters

+
+ {#each posters as { location, photos_product }} + item.slug.includes(location.slug))} + /> + {/each} +
+ +
+ {/if}
-{/key}