From 87401b855782bc97a6f34e6e8d1afe5ea4a47ed4 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 25 Jan 2024 00:12:49 -0800 Subject: fix(sequelspy): log in restriction --- src/lib/Tools/SequelSpy.svelte | 104 +++++++++++++++++++++-------------------- 1 file changed, 54 insertions(+), 50 deletions(-) (limited to 'src') diff --git a/src/lib/Tools/SequelSpy.svelte b/src/lib/Tools/SequelSpy.svelte index 21a6ce4d..74ce07fa 100644 --- a/src/lib/Tools/SequelSpy.svelte +++ b/src/lib/Tools/SequelSpy.svelte @@ -43,60 +43,64 @@ airingTime(prequel as unknown as Media, null); -
-

- - -

+{#if user === undefined} + Please log in to view this page. +{:else} +
+

+ + +

- {#await currentPrequels} -

Loading prequels ... 50%

- {:then currentPrequels} - + {/await} -

+

- The count ratio is the number of episodes you've seen of any direct prequels, and the total number - of episodes of all direct prequels. -

+ The count ratio is the number of episodes you've seen of any direct prequels, and the total + number of episodes of all direct prequels. +
- + +{/if} -- cgit v1.2.3