Give utilities a unique icon. Open all submenus by default.

This commit is contained in:
Gabe Kangas 2020-11-16 14:36:06 -08:00
parent e0ce9a35ac
commit 08972dfb3a

View File

@ -10,7 +10,7 @@ import {
SettingOutlined,
HomeOutlined,
LineChartOutlined,
CloseCircleOutlined,
ToolOutlined,
PlayCircleFilled,
MinusSquareFilled,
} from '@ant-design/icons';
@ -90,7 +90,7 @@ export default function MainLayout(props) {
<Menu
theme="dark"
defaultSelectedKeys={[route.substring(1) || "home"]}
defaultOpenKeys={["current-stream-menu", "utilities-menu"]}
defaultOpenKeys={["current-stream-menu", "utilities-menu", "configuration"]}
mode="inline"
>
<h1 className={adminStyles.owncastTitleContainer}>
@ -136,7 +136,7 @@ export default function MainLayout(props) {
<SubMenu
key="utilities-menu"
icon={<SettingOutlined />}
icon={<ToolOutlined />}
title="Utilities"
>
<Menu.Item key="hardware-info">