listing teams in the team chat to select different chats

This commit is contained in:
Carter 2026-02-25 13:23:24 -06:00
parent 5c1434a2e7
commit 0ea31c81e4
2 changed files with 42 additions and 9 deletions

View file

@ -117,9 +117,11 @@ export default function TeamProvider(props: PropsWithChildren<Props>) {
asRoot?: boolean,
otherTeam?: string,
prefixSearch?: string,
useImitation?: boolean,
) => {
//let asText = team ? "&as=" + team.key() : "";
const view = otherTeam ? otherTeam : (as.length > 0 ? as : undefined)
let view = otherTeam ? otherTeam : (as.length > 0 ? as : undefined)
if (useImitation === undefined || useImitation === false) view = ""
let url = pondURL(
"/teams" +
"?limit=" +