Reset ALL data on logout

This commit is contained in:
N-Pex 2021-04-13 19:56:59 +02:00
parent 113f7a1579
commit ae2c8d8e2e

View file

@ -159,6 +159,11 @@ export default {
localStorage.removeItem('user');
this.$store.commit("setCurrentRoomId", null);
this.rooms = [];
this.userDisplayName = null;
this.userAvatar = null;
this.currentRoom = null;
this.notificationCount = 0;
},
initClient() {