Make logout button reactive, improve dropdown menu css

This commit is contained in:
Louis Lam 2022-04-20 22:39:07 +08:00
parent a391576285
commit 07c0801ad5
4 changed files with 8 additions and 4 deletions

View file

@ -321,6 +321,8 @@ export default {
// Set it to empty if done
this.saveSettings(() => {
this.password.currentPassword = "";
this.$root.username = null;
this.$root.socket.token = "autoLogin";
}, this.password.currentPassword);
},