fixed teamlist not listing when using a team as context in the select team menu

This commit is contained in:
Carter 2025-05-08 09:41:07 -06:00
parent 59a0b69813
commit ddbfd4edc1

View file

@ -41,7 +41,7 @@ export default function TeamSearch(props: Props) {
let options: Option[] = []; let options: Option[] = [];
setLoading(true); setLoading(true);
teamAPI teamAPI
.listTeams(10, 0, "desc", undefined, undefined, undefined, undefined, search) .listTeams(10, 0, "desc", undefined, undefined, undefined, " ", search)
.then(resp => { .then(resp => {
if (loadUsers) if (loadUsers)
options.push({ options.push({