User Scores at the top of the page are not displayed anymore after logout
This commit is contained in:
parent
f4eeb11c68
commit
5dfbc6d39c
1 changed files with 1 additions and 0 deletions
|
|
@ -86,6 +86,7 @@ export default defineComponent({
|
||||||
logOut(){
|
logOut(){
|
||||||
this.user = null;
|
this.user = null;
|
||||||
this.userId = -1;
|
this.userId = -1;
|
||||||
|
this.userScores = {};
|
||||||
localStorage.setItem('frontend-ready', 'false');
|
localStorage.setItem('frontend-ready', 'false');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue