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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user