fix cloud mode for teams

This commit is contained in:
Francis Cao 2024-02-08 15:11:42 -08:00
parent e8d8a8a84a
commit 7c1cb7631d
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ import TeamsAddButton from './TeamsAddButton';
export function TeamsHeader({ allowCreate = true }: { allowCreate?: boolean }) {
const { formatMessage, labels } = useMessages();
const { user } = useLogin();
const cloudMode = process.env.CLOUD_MODE;
const cloudMode = !!process.env.cloudMode;
return (
<PageHeader title={formatMessage(labels.teams)}>