mirror of
https://github.com/umami-software/umami.git
synced 2026-02-18 11:35:37 +01:00
fix cloud mode for teams
This commit is contained in:
parent
e8d8a8a84a
commit
7c1cb7631d
2 changed files with 2 additions and 2 deletions
|
|
@ -26,7 +26,7 @@ export function TeamEditForm({ teamId, allowEdit }: { teamId: string; allowEdit?
|
|||
const ref = useRef(null);
|
||||
const [accessCode, setAccessCode] = useState(team.accessCode);
|
||||
const { showToast } = useToasts();
|
||||
const cloudMode = process.env.CLOUD_MODE;
|
||||
const cloudMode = !!process.env.cloudMode;
|
||||
|
||||
const handleSubmit = async (data: any) => {
|
||||
mutate(data, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue