release/2025-08-15 - Add LogImexEvent for Theme toggling / remove Tooltip with translations (no longer necessary)

This commit is contained in:
Dave Richer
2025-08-11 14:27:48 -04:00
parent 4e5aba59d7
commit 4d475e25fa
3 changed files with 34 additions and 50 deletions

View File

@@ -33,7 +33,6 @@ import { RiSurveyLine } from "react-icons/ri";
import { IoBusinessOutline } from "react-icons/io5";
import InstanceRenderManager from "../../utils/instanceRenderMgr";
import LockWrapper from "../../components/lock-wrapper/lock-wrapper.component.jsx";
import { Tooltip } from "antd";
const buildLeftMenuItems = ({
t,
@@ -338,9 +337,7 @@ const buildLeftMenuItems = ({
key: "darkmode-toggle",
id: "header-darkmode-toggle",
label: darkMode ? t("user.actions.light_theme") : t("user.actions.dark_theme"),
icon: (
<Tooltip title={darkMode ? t("Light mode") : t("Dark mode")}>{darkMode ? <FaSun /> : <FaMoon />}</Tooltip>
),
icon: darkMode ? <FaSun /> : <FaMoon />,
onClick: handleDarkModeToggle
},
{