diff --git a/esp/src/eclwatch/templates/HPCCPlatformWidget.html b/esp/src/eclwatch/templates/HPCCPlatformWidget.html index 02dc32b9c36..66cbccddd44 100644 --- a/esp/src/eclwatch/templates/HPCCPlatformWidget.html +++ b/esp/src/eclwatch/templates/HPCCPlatformWidget.html @@ -110,7 +110,7 @@
- +
diff --git a/esp/src/src-react/components/Menu.tsx b/esp/src/src-react/components/Menu.tsx index f557eda06ff..35a0ccd2c00 100644 --- a/esp/src/src-react/components/Menu.tsx +++ b/esp/src/src-react/components/Menu.tsx @@ -9,6 +9,7 @@ import { useFavorite, useFavorites, useHistory } from "../hooks/favorite"; import { useUserTheme } from "../hooks/theme"; import { usePivotItemDisable } from "../layouts/pivot"; import { Breadcrumbs } from "./Breadcrumbs"; +import { Settings } from "./Settings"; // Top Level Nav --- function navLinkGroups(): INavLinkGroup[] { @@ -99,13 +100,15 @@ export const MainNavigation: React.FunctionComponent = ({ }) => { const menu = useConst([...navLinkGroups()]); - const { theme, setTheme, isDark } = useUserTheme(); + const { theme, setThemeDark, isDark } = useUserTheme(); + + const [showSettings, setShowSettings] = React.useState(false); const selKey = React.useMemo(() => { return navSelectedKey(hashPath); }, [hashPath]); - return + return