From b24814cb7d15a0b48faaf505e337789e10ad77ca Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Fri, 30 May 2025 23:05:35 -0400 Subject: [PATCH] Hide login button (#965) ## Description: Hide login button when logged in. ## 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 Co-authored-by: Scott Anderson <662325+scottanderson@users.noreply.github.com> --- src/client/Main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/Main.ts b/src/client/Main.ts index 8fdc0cfdb..c4b877eaa 100644 --- a/src/client/Main.ts +++ b/src/client/Main.ts @@ -188,8 +188,8 @@ class Client { logoutDiscordButton.hidden = true; return; } - // TODO: Update the page for logged in user loginDiscordButton.translationKey = "main.logged_in"; + loginDiscordButton.hidden = true; const { user, player } = userMeResponse; }); }