From 90ee7a46b680f9649faa1f7dbc64a14ffcdda546 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Wed, 31 Jan 2024 02:21:53 -0800
Subject: fix(routes): load lists after identity loaded

---
 src/routes/completed/+page.svelte | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/routes/completed/+page.svelte')

diff --git a/src/routes/completed/+page.svelte b/src/routes/completed/+page.svelte
index 83ec9f7e..071371de 100644
--- a/src/routes/completed/+page.svelte
+++ b/src/routes/completed/+page.svelte
@@ -30,7 +30,7 @@
 {:else}
 	<div id="list-container">
 		<details open={!$settings.displayAnimeCollapsed} class="list">
-			{#if $userIdentity.id != -1}
+			{#if $userIdentity.id !== -2}
 				<WatchingAnimeList user={data.user} />
 			{:else}
 				<ListTitle title={$locale().lists.completed.anime} />
@@ -40,7 +40,7 @@
 		</details>
 
 		<details open={!$settings.displayMangaCollapsed} class="list">
-			{#if $userIdentity.id != -1}
+			{#if $userIdentity.id !== -2}
 				<MangaListTemplate
 					user={data.user}
 					displayUnresolved={$settings.displayUnresolved}
-- 
cgit v1.2.3

