From 8207a75820ec40ee8d10027673ca6ea90c48f751 Mon Sep 17 00:00:00 2001 From: Harvey Tindall Date: Fri, 8 Sep 2023 16:54:07 +0100 Subject: [PATCH] accounts: sort by referrals --- ts/modules/accounts.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ts/modules/accounts.ts b/ts/modules/accounts.ts index 99ba6b9..f4ca0b0 100644 --- a/ts/modules/accounts.ts +++ b/ts/modules/accounts.ts @@ -2055,8 +2055,8 @@ export class accountsList { this.loadPreview(); }; - const headerNames: string[] = ["username", "access-jfa", "email", "telegram", "matrix", "discord", "expiry", "last-active"]; - const headerGetters: string[] = ["name", "accounts_admin", "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", "referrals_enabled"]; for (let i = 0; i < headerNames.length; i++) { const header: HTMLTableHeaderCellElement = document.querySelector(".accounts-header-" + headerNames[i]) as HTMLTableHeaderCellElement; if (header !== null) {