ts
This commit is contained in:
1 parent
8ae7638432
commit
93317cbba7
2 files changed
-4
No files matched your search
@@ -10,7 +10,6 @@ import { useMemo, useState } from "react";
|
|||||||
import { useTheme } from "@mui/material/styles";
|
import { useTheme } from "@mui/material/styles";
|
||||||
import { Tooltip } from "@/components/design-elements";
|
import { Tooltip } from "@/components/design-elements";
|
||||||
import { config } from "@/config/index";
|
import { config } from "@/config/index";
|
||||||
const ENV_VAR = import.meta.env.VITE_APP_DEPLOYMENT_MODE;
|
|
||||||
const DEPLOYMENT_MODE = config.DEPLOYMENT_MODE;
|
const DEPLOYMENT_MODE = config.DEPLOYMENT_MODE;
|
||||||
const IS_SAAS = DEPLOYMENT_MODE === "saas";
|
const IS_SAAS = DEPLOYMENT_MODE === "saas";
|
||||||
|
|
||||||
@@ -66,7 +65,6 @@ export const SettingsSwitch = () => {
|
|||||||
[perms]
|
[perms]
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
const hasMaster = perms.includes("master");
|
const hasMaster = perms.includes("master");
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -5,8 +5,6 @@ import { useTranslation } from "react-i18next";
|
|||||||
import { useNavigate, useLocation } from "react-router-dom";
|
import { useNavigate, useLocation } from "react-router-dom";
|
||||||
import { useAppSelector, useAppDispatch } from "@/hooks/AppHooks";
|
import { useAppSelector, useAppDispatch } from "@/hooks/AppHooks";
|
||||||
|
|
||||||
// CollapseButton removed; toggling now handled via Logo click
|
|
||||||
import Box from "@mui/material/Box";
|
|
||||||
import Stack from "@mui/material/Stack";
|
import Stack from "@mui/material/Stack";
|
||||||
import List from "@mui/material/List";
|
import List from "@mui/material/List";
|
||||||
import Divider from "@mui/material/Divider";
|
import Divider from "@mui/material/Divider";
|
||||||
|
|||||||
Reference in new issue
Block a user