[Bugfix] Login Modal (#2903)

If this PR fixes an issue, link it below. If not, delete these two
lines.
Resolves #2889

## Description:

fixes login in modal:
<img width="782" height="330" alt="image"
src="https://github.com/user-attachments/assets/60f1825f-5678-4853-a78b-bbed5198b0fb"
/>
(theres also one more afterwards but that leaks my email and cba to edit
it out)

## 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-01-14 16:56:50 -08:00
committed by GitHub
parent e1d31ef1ee
commit 6719f4177b
5 changed files with 86 additions and 23 deletions
+2 -2
View File
@@ -687,7 +687,7 @@ class Client {
// in case it is unset during reload.
this.userSettings.setSelectedPatternName(patternName);
});
this.tokenLoginModal.open(token);
this.tokenLoginModal.openWithToken(token);
} else {
alertAndStrip(`purchase succeeded: ${patternName}`);
this.patternsModal.refresh();
@@ -706,7 +706,7 @@ class Client {
}
strip();
this.tokenLoginModal.open(token);
this.tokenLoginModal.openWithToken(token);
return;
}