From 8daf3af5f98e01e382e47f358ea95122b5b145ed Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Sun, 11 Aug 2024 20:27:58 -0400 Subject: [PATCH] made a bunch of frontend variables global --- frontend/src/App.svelte | 77 +++++++------------ .../GlobalVariablesAndHelperFunctions.svelte | 32 +++++++- frontend/src/Header.svelte | 20 +++++ 3 files changed, 75 insertions(+), 54 deletions(-) diff --git a/frontend/src/App.svelte b/frontend/src/App.svelte index 839b475..e987dde 100644 --- a/frontend/src/App.svelte +++ b/frontend/src/App.svelte @@ -1,11 +1,17 @@
{#if isAniListLoggedIn} -
You are logged into AniList, {aniListUser.data.Viewer.name}!
+
You are logged into AniList, {currentAniListUser.data.Viewer.name}!
{:else} {/if} {#if isSimklLoggedIn} -
You are logged into Simkl, {simklUser.user.name}
+
You are logged into Simkl, {currentSimklUser.user.name}
{:else} {/if} @@ -127,7 +102,7 @@

Your Watching List

- {#each aniListWatchlist.data.Page.mediaList as media} + {#each aniListWatchListLoaded.data.Page.mediaList as media}