Skip to content

Commit

Permalink
frontend: fix principal type dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
rikimaru0345 committed Mar 20, 2024
1 parent b4fcfa6 commit 947cf3e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions frontend/src/components/pages/acls/PrincipalGroupEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export const AclPrincipalGroupEditor = observer((p: {
}
>
<InputGroup>
<Box mr={2} minW={150}>
<Box mr={2} minW={180} zIndex={1}>
<SingleSelect<PrincipalType>
value={group.principalType}
options={[
Expand All @@ -144,13 +144,11 @@ export const AclPrincipalGroupEditor = observer((p: {
value: 'User',
},
{
label: 'Redpanda role',
label: 'Redpanda Role',
value: 'RedpandaRole'
}
]}
onChange={(value) => {
group.principalType = value
}}
onChange={(value) => group.principalType = value}
/>
</Box>

Expand Down

0 comments on commit 947cf3e

Please sign in to comment.