From 0cd663df0282dcdacea84827dea00f3fdb1d2309 Mon Sep 17 00:00:00 2001 From: tnhnblgl <51187395+tnhnblgl@users.noreply.github.com> Date: Fri, 20 Jun 2025 00:05:20 +0300 Subject: [PATCH] Logout Button Fix (#1234) ## Description: Fixes #1230 Now after logout,button doesn't disappear ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced - [x] I understand that submitting code with bugs that could have been caught through manual testing blocks releases and new features for all contributors ## Please put your Discord username so you can be contacted if a bug or regression is found: dovg --- src/client/Main.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/Main.ts b/src/client/Main.ts index 2474d5d24..d1f226918 100644 --- a/src/client/Main.ts +++ b/src/client/Main.ts @@ -194,6 +194,7 @@ class Client { logOut(); loginDiscordButton.disable = false; loginDiscordButton.translationKey = "main.login_discord"; + loginDiscordButton.hidden = false; loginDiscordButton.addEventListener("click", discordLogin); logoutDiscordButton.hidden = true; });