Give utilities a unique icon. Open all submenus by default.
This commit is contained in:
parent
e0ce9a35ac
commit
08972dfb3a
@ -10,7 +10,7 @@ import {
|
|||||||
SettingOutlined,
|
SettingOutlined,
|
||||||
HomeOutlined,
|
HomeOutlined,
|
||||||
LineChartOutlined,
|
LineChartOutlined,
|
||||||
CloseCircleOutlined,
|
ToolOutlined,
|
||||||
PlayCircleFilled,
|
PlayCircleFilled,
|
||||||
MinusSquareFilled,
|
MinusSquareFilled,
|
||||||
} from '@ant-design/icons';
|
} from '@ant-design/icons';
|
||||||
@ -90,7 +90,7 @@ export default function MainLayout(props) {
|
|||||||
<Menu
|
<Menu
|
||||||
theme="dark"
|
theme="dark"
|
||||||
defaultSelectedKeys={[route.substring(1) || "home"]}
|
defaultSelectedKeys={[route.substring(1) || "home"]}
|
||||||
defaultOpenKeys={["current-stream-menu", "utilities-menu"]}
|
defaultOpenKeys={["current-stream-menu", "utilities-menu", "configuration"]}
|
||||||
mode="inline"
|
mode="inline"
|
||||||
>
|
>
|
||||||
<h1 className={adminStyles.owncastTitleContainer}>
|
<h1 className={adminStyles.owncastTitleContainer}>
|
||||||
@ -136,7 +136,7 @@ export default function MainLayout(props) {
|
|||||||
|
|
||||||
<SubMenu
|
<SubMenu
|
||||||
key="utilities-menu"
|
key="utilities-menu"
|
||||||
icon={<SettingOutlined />}
|
icon={<ToolOutlined />}
|
||||||
title="Utilities"
|
title="Utilities"
|
||||||
>
|
>
|
||||||
<Menu.Item key="hardware-info">
|
<Menu.Item key="hardware-info">
|
||||||
|
Loading…
Reference in New Issue
Block a user