[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
This commit is contained in:
Ryan
2026-05-06 20:35:45 +01:00
committed by evanpelle
parent f9f46379f1
commit a4c3d54217
+2
View File
@@ -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();
}}