Hotfix: fixed search bar on teams list page

This commit is contained in:
Carter 2025-10-09 14:56:37 -06:00
parent 06d4cd1e33
commit f51f98f3ca

View file

@ -119,7 +119,7 @@ export default function TeamProvider(props: PropsWithChildren<Props>) {
prefixSearch?: string,
) => {
//let asText = team ? "&as=" + team.key() : "";
const view = otherTeam ? otherTeam : as
const view = otherTeam ? otherTeam : (as.length > 0 ? as : undefined)
let url = pondURL(
"/teams" +
"?limit=" +