Skip to content

Commit 0fa1d4b

Browse files
dvaldiviabexsoft
andauthored
Update Menu with Tools section (#147)
Co-authored-by: Alex <33497058+bexsoft@users.noreply.github.com>
1 parent 8139416 commit 0fa1d4b

File tree

1 file changed

+21
-15
lines changed

1 file changed

+21
-15
lines changed

portal-ui/src/screens/Console/Menu.tsx

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -146,13 +146,6 @@ class Menu extends React.Component<MenuProps> {
146146
name: "Service Accounts",
147147
icon: <RoomServiceIcon />,
148148
},
149-
{
150-
type: "item",
151-
component: NavLink,
152-
to: "/watch",
153-
name: "Watch",
154-
icon: <CenterFocusWeakIcon />,
155-
},
156149
{
157150
type: "divider",
158151
key: "divider-1",
@@ -187,23 +180,36 @@ class Menu extends React.Component<MenuProps> {
187180
icon: <PermissionIcon />,
188181
},
189182
{
190-
group: "Admin",
191-
type: "item",
192-
component: NavLink,
193-
to: "/trace",
194-
name: "Trace",
195-
icon: <LoopIcon />,
183+
type: "title",
184+
name: "Tools",
185+
component: Typography,
196186
},
197187
{
198-
group: "Admin",
188+
group: "Tools",
199189
type: "item",
200190
component: NavLink,
201191
to: "/logs",
202192
name: "Console Logs",
203193
icon: <WebAssetIcon />,
204194
},
205195
{
206-
group: "Admin",
196+
group: "Tools",
197+
type: "item",
198+
component: NavLink,
199+
to: "/watch",
200+
name: "Watch",
201+
icon: <CenterFocusWeakIcon />,
202+
},
203+
{
204+
group: "Tools",
205+
type: "item",
206+
component: NavLink,
207+
to: "/trace",
208+
name: "Trace",
209+
icon: <LoopIcon />,
210+
},
211+
{
212+
group: "Tools",
207213
type: "item",
208214
component: NavLink,
209215
to: "/heal",

0 commit comments

Comments
 (0)