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

@@ -103,8 +103,8 @@ export default {
socket.on("autoLogin", (monitorID, data) => {
this.loggedIn = true;
this.username = "No Auth";
this.storage().token = "autoLogin";
this.socket.token = "autoLogin";
this.allowLoginDialog = false;
});