diff --git a/src/routes/credits.svelte b/src/routes/credits.svelte
index e6fb71e..ca2d68b 100644
--- a/src/routes/credits.svelte
+++ b/src/routes/credits.svelte
@@ -121,19 +121,21 @@
- {#each location as { location_id: { name, slug: slugLocation, country: { slug: slugCountry, flag }}}, index}
- -
-
-
- {name}
-
-
+ {#each location as loc}
+ {#if loc.location_id}
+ -
+
+
+ {loc.location_id.name}
+
+
+ {/if}
{/each}
@@ -165,7 +167,7 @@
name
website
location {
- location_id {
+ location_id (filter: { status: { _eq: "published" }}) {
name
slug
country {
@@ -179,7 +181,6 @@
}
}
`)
-
const { data } = res
return {