mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-23 01:20:11 +00:00
accounts: sort by referrals
This commit is contained in:
parent
2c48ce0152
commit
8207a75820
@ -2055,8 +2055,8 @@ export class accountsList {
|
|||||||
this.loadPreview();
|
this.loadPreview();
|
||||||
};
|
};
|
||||||
|
|
||||||
const headerNames: string[] = ["username", "access-jfa", "email", "telegram", "matrix", "discord", "expiry", "last-active"];
|
const headerNames: string[] = ["username", "access-jfa", "email", "telegram", "matrix", "discord", "expiry", "last-active", "referrals"];
|
||||||
const headerGetters: string[] = ["name", "accounts_admin", "email", "telegram", "matrix", "discord", "expiry", "last_active"];
|
const headerGetters: string[] = ["name", "accounts_admin", "email", "telegram", "matrix", "discord", "expiry", "last_active", "referrals_enabled"];
|
||||||
for (let i = 0; i < headerNames.length; i++) {
|
for (let i = 0; i < headerNames.length; i++) {
|
||||||
const header: HTMLTableHeaderCellElement = document.querySelector(".accounts-header-" + headerNames[i]) as HTMLTableHeaderCellElement;
|
const header: HTMLTableHeaderCellElement = document.querySelector(".accounts-header-" + headerNames[i]) as HTMLTableHeaderCellElement;
|
||||||
if (header !== null) {
|
if (header !== null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user