From 5dfbc6d39cc390703d653a9879e9887195b8db01 Mon Sep 17 00:00:00 2001 From: dhain Date: Tue, 31 Jan 2023 08:52:30 +0100 Subject: [PATCH] User Scores at the top of the page are not displayed anymore after logout --- frontend/src/App.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index c4b8043..a5859cc 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -86,6 +86,7 @@ export default defineComponent({ logOut(){ this.user = null; this.userId = -1; + this.userScores = {}; localStorage.setItem('frontend-ready', 'false'); } },