Skip to content

Commit

Permalink
Fix SideMenu display Manageemnt item issue. (#826)
Browse files Browse the repository at this point in the history
Signed-off-by: Boli Guan <ifendoe@gmail.com>

Signed-off-by: Boli Guan <ifendoe@gmail.com>
  • Loading branch information
Fendoe authored Nov 3, 2022
1 parent c89f26d commit 512f309
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/src/components/sidemenu/siteMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const showManagement = enableRBAC
? enableRBAC
: process.env.REACT_APP_ENABLE_RBAC;

if (showManagement !== "true") {
if (showManagement === "true") {
menuItems.push({
key: "management",
icon: <ControlOutlined style={{ fontSize: "20px", color: "#6495ed" }} />,
Expand Down
2 changes: 1 addition & 1 deletion ui/src/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@
}

.display-flex {
display: "flex";
display: flex;
}

0 comments on commit 512f309

Please sign in to comment.