Skip to content

Commit 71323ac

Browse files
committed
chore: add beta badge to deployment dropdown
1 parent 3aeb3c0 commit 71323ac

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

site/src/modules/dashboard/Navbar/DeploymentDropdown.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { type Interpolation, type Theme, css, useTheme } from "@emotion/react";
22
import Button from "@mui/material/Button";
33
import MenuItem from "@mui/material/MenuItem";
44
import { DropdownArrow } from "components/DropdownArrow/DropdownArrow";
5+
import { FeatureBadge } from "components/FeatureBadge/FeatureBadge";
56
import {
67
Popover,
78
PopoverContent,
@@ -109,6 +110,7 @@ const DeploymentDropdownContent: FC<DeploymentDropdownProps> = ({
109110
onClick={onPopoverClose}
110111
>
111112
Organizations
113+
<FeatureBadge type="beta" size="sm" variant="static" />
112114
</MenuItem>
113115
)}
114116
{canViewAllUsers && (
@@ -149,7 +151,7 @@ const styles = {
149151
menuItem: (theme) => css`
150152
text-decoration: none;
151153
color: inherit;
152-
gap: 20px;
154+
gap: 8px;
153155
padding: 8px 20px;
154156
font-size: 14px;
155157

0 commit comments

Comments
 (0)