aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Tools/SequelSpy.svelte
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-02-08 00:09:32 -0800
committerFuwn <[email protected]>2024-02-08 00:09:32 -0800
commit9ec5b7205d909e1f1b1d9d128c8c47750cc17f54 (patch)
tree8a785aafbfa707da735e573ea9d43b8fdf957a86 /src/lib/Tools/SequelSpy.svelte
parentfeat(settings): use popup style login alert (diff)
downloaddue.moe-9ec5b7205d909e1f1b1d9d128c8c47750cc17f54.tar.xz
due.moe-9ec5b7205d909e1f1b1d9d128c8c47750cc17f54.zip
feat: use global login restriction warning
Diffstat (limited to 'src/lib/Tools/SequelSpy.svelte')
-rw-r--r--src/lib/Tools/SequelSpy.svelte6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/Tools/SequelSpy.svelte b/src/lib/Tools/SequelSpy.svelte
index 4a8d7b12..480fba36 100644
--- a/src/lib/Tools/SequelSpy.svelte
+++ b/src/lib/Tools/SequelSpy.svelte
@@ -18,7 +18,7 @@
import HoverCover from '$lib/Media/Cover/HoverCover.svelte';
import Skeleton from '$lib/Loading/Skeleton.svelte';
import identity from '$stores/identity';
- import Popup from '$lib/Popup.svelte';
+ import LogInRestricted from '$lib/Error/LogInRestricted.svelte';
export let user: AniListAuthorisation;
@@ -48,9 +48,7 @@
</script>
{#if user === undefined || $identity.id === -2}
- <Popup fullscreen locked>
- <div class="message">Please log in to view this page.</div>
- </Popup>
+ <LogInRestricted />
{:else}
<div class="card">
<p>