From 4714c111cae1db9552a494df8fd2a5cded29b641 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Wed, 17 Nov 2021 19:26:46 +0100 Subject: [PATCH] Shop Location page poster button only if existing --- src/routes/[country]/[location]/index.svelte | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/routes/[country]/[location]/index.svelte b/src/routes/[country]/[location]/index.svelte index 5e88617..6303163 100644 --- a/src/routes/[country]/[location]/index.svelte +++ b/src/routes/[country]/[location]/index.svelte @@ -145,9 +145,12 @@ - + + {#if location.has_poster} + + {/if} @@ -254,6 +257,7 @@ } } country { name } + has_poster } photos: photo (