diff --git a/frontend/src/routes/search/+page.svelte b/frontend/src/routes/search/+page.svelte index c131802..83728fd 100644 --- a/frontend/src/routes/search/+page.svelte +++ b/frontend/src/routes/search/+page.svelte @@ -40,7 +40,7 @@ myAdventures = data.props.adventures; publicAdventures = data.props.adventures; - if (data.user?.pk != null) { + if (data.user?.uuid != null) { myAdventures = myAdventures.filter((adventure) => adventure.user_id === data.user?.uuid); } else { myAdventures = [];