From ac10908b8f77f071088c25ae12adf6f9cb8e4375 Mon Sep 17 00:00:00 2001 From: Benjamin Degenhart Date: Thu, 23 May 2024 14:43:10 +0200 Subject: [PATCH] Reset needs to set empty profile --- public/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/public/index.html b/public/index.html index 1c394f7..8aedc8d 100644 --- a/public/index.html +++ b/public/index.html @@ -473,6 +473,7 @@

Report

async function clearUserProfile() { localStorage.clear() + userProfile = EMPTY_PROFILE localStorage.setItem("userProfile", JSON.stringify(userProfile)) await update() }