This commit is contained in:
Alex Holliday committed 2025-12-01 00:35:53 +00:00
1 parent 6bca0ed00b
commit 7b207f2ccb
15 files changed
+204 -15

No files matched your search

@@ -9,6 +9,8 @@ import { useAppSelector } from "@/hooks/AppHooks";
import { useState } from "react";
import { useTheme } from "@mui/material/styles";
import { Tooltip } from "@/components/design-elements";
const DEPLOYMENT_MODE = import.meta.env.VITE_APP_DEPLOYMENT_MODE;
const IS_SAAS = DEPLOYMENT_MODE === "saas";
export const SettingsSwitch = () => {
const navigate = useNavigate();
@@ -105,7 +107,7 @@ export const SettingsSwitch = () => {
<Typography>Invite</Typography>
</MenuItem>
)}
{hasBilling && (
{hasBilling && IS_SAAS && (
<MenuItem onClick={() => handleClick("billing")}>
<Typography>Billing</Typography>
</MenuItem>