Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benjackwhite committed Feb 14, 2024
1 parent 654e6e0 commit 0f76bcc
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions frontend/src/scenes/settings/user/PersonalAPIKeys.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import {
LemonBanner,
LemonDialog,
LemonDivider,
LemonInput,
LemonLabel,
LemonMenu,
Expand Down Expand Up @@ -92,7 +91,7 @@ function EditKeyModal(): JSX.Element {
value: 'teams',
},
]}
size="xsmall"
size="small"
/>
)}
</LemonField>
Expand Down Expand Up @@ -148,8 +147,8 @@ function EditKeyModal(): JSX.Element {
<LemonSelectMultiple
mode="multiple"
data-attr="teams"
value={value.map((x) => String(x))}
onChange={(val) => onChange(val.map((x) => parseInt(x)))}
value={value.map((x: number) => String(x))}
onChange={(val: string[]) => onChange(val.map((x) => parseInt(x)))}
options={
allTeams?.map((team) => ({
key: `${team.id}`,
Expand All @@ -169,7 +168,7 @@ function EditKeyModal(): JSX.Element {
}
>
{allOrganizations.length > 1 ? (
<>
<span>
<span>
{
allOrganizations.find(
Expand All @@ -181,9 +180,9 @@ function EditKeyModal(): JSX.Element {
<span className="flex-1 font-semibold">
{team.name}
</span>
</>
</span>
) : (
<span className="flex-1">{team.name}</span>
<span>{team.name}</span>
)}
</Tooltip>
),
Expand All @@ -197,7 +196,7 @@ function EditKeyModal(): JSX.Element {
</>
) : null}

<div className="flex items-center justify-between mt-8">
<div className="flex items-center justify-between mt-4 mb-2">
<LemonLabel>Permissions</LemonLabel>
<LemonField name="preset">
<LemonSelect
Expand Down

0 comments on commit 0f76bcc

Please sign in to comment.