mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-11-09 20:00:12 +00:00
accounts: fix profile list for enabling referrals
when I moved the available profile list from GET(/invites) to GET(/profiles/names), I forgot to remove the multiple places which called the former and set the (now undefined) profiles value.
This commit is contained in:
parent
a1612949bf
commit
3559e32c2f
@ -1510,7 +1510,6 @@ export class accountsList {
|
||||
|
||||
let innerHTML = "";
|
||||
let invites = req.response["invites"] as Array<Invite>;
|
||||
window.availableProfiles = req.response["profiles"];
|
||||
if (invites) {
|
||||
for (let inv of invites) {
|
||||
let name = inv.code;
|
||||
|
@ -285,7 +285,6 @@ export class ProfileEditor {
|
||||
|
||||
let innerHTML = "";
|
||||
let invites = req.response["invites"] as Array<Invite>;
|
||||
window.availableProfiles = req.response["profiles"];
|
||||
if (invites) {
|
||||
for (let inv of invites) {
|
||||
let name = inv.code;
|
||||
|
Loading…
Reference in New Issue
Block a user