Limited most member search inputs to only display active members
All checks were successful
Pull Request CI / Merge Check (pull_request) Successful in 3m28s
All checks were successful
Pull Request CI / Merge Check (pull_request) Successful in 3m28s
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user