Limited most member search inputs to only display active members
All checks were successful
Pull Request CI / Merge Check (pull_request) Successful in 3m28s

This commit is contained in:
2026-02-12 22:53:13 -05:00
parent 947c657e92
commit 2e944231a5
3 changed files with 10 additions and 6 deletions

View File

@@ -66,8 +66,8 @@ export async function setMemberSettings(settings: memberSettings) {
return;
}
export async function getAllLightMembers(): Promise<MemberLight[]> {
const response = await fetch(`${addr}/members/lite`, {
export async function getAllLightMembers(activeOnly: boolean = true): Promise<MemberLight[]> {
const response = await fetch(`${addr}/members/lite${activeOnly ? '?active=true' : '?active=false'}`, {
credentials: 'include',
headers: {
"Content-Type": "application/json",