From 6afedd8fd2e8cfe97b4cd972e097f954b4ef5e76 Mon Sep 17 00:00:00 2001 From: Ryan <7389646+ryanbarlow97@users.noreply.github.com> Date: Wed, 6 May 2026 20:35:45 +0100 Subject: [PATCH] [bugfix] add detailCache = null; (#3868) ## Description: fixed issue when leaving and trying to rejoin a clan without a reload ## 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 ## Please put your Discord username so you can be contacted if a bug or regression is found: w.o.n --- src/client/ClanModal.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/client/ClanModal.ts b/src/client/ClanModal.ts index a0989811b..e611fc424 100644 --- a/src/client/ClanModal.ts +++ b/src/client/ClanModal.ts @@ -198,6 +198,7 @@ export class ClanModal extends BaseModal { this.selectedClan = null; this.selectedClanTag = ""; this.myRole = null; + this.detailCache = null; this.view = "list"; this.loadMyClans(); }} @@ -290,6 +291,7 @@ export class ClanModal extends BaseModal { this.selectedClan = null; this.selectedClanTag = ""; this.myRole = null; + this.detailCache = null; this.view = "list"; this.loadMyClans(); }}