diff options
| author | Fuwn <[email protected]> | 2023-12-03 21:17:49 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-12-03 21:17:49 -0800 |
| commit | 8367ecd905b76a432e487ec9385aca155bb161e1 (patch) | |
| tree | 54bc2fa176d5d5eb2fd962063192b41a60117380 /src/lib/Tools/ActivityHistory.svelte | |
| parent | style(birthdays): sugar (diff) | |
| download | due.moe-8367ecd905b76a432e487ec9385aca155bb161e1.tar.xz due.moe-8367ecd905b76a432e487ec9385aca155bb161e1.zip | |
feat(tools): serialise settings into url
Diffstat (limited to 'src/lib/Tools/ActivityHistory.svelte')
| -rw-r--r-- | src/lib/Tools/ActivityHistory.svelte | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/Tools/ActivityHistory.svelte b/src/lib/Tools/ActivityHistory.svelte index a8f3c45b..e946a116 100644 --- a/src/lib/Tools/ActivityHistory.svelte +++ b/src/lib/Tools/ActivityHistory.svelte @@ -10,6 +10,7 @@ userIdentity as getUserIdentity, type AniListAuthorisation } from '$lib/AniList/identity'; + import { clearAllParameters } from './tool.js'; export let user: AniListAuthorisation; @@ -17,6 +18,8 @@ let currentUserIdentity = { name: '', id: -1 }; onMount(async () => { + clearAllParameters(); + if (user !== undefined) { if ($userIdentity === '') { userIdentity.set(JSON.stringify(await getUserIdentity(user))); |