From 8367ecd905b76a432e487ec9385aca155bb161e1 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Sun, 3 Dec 2023 21:17:49 -0800
Subject: feat(tools): serialise settings into url

---
 src/lib/Tools/ActivityHistory.svelte | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'src/lib/Tools/ActivityHistory.svelte')

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)));
-- 
cgit v1.2.3

