diff --git a/frontend/src/scenes/settings/user/PersonalAPIKeys.tsx b/frontend/src/scenes/settings/user/PersonalAPIKeys.tsx index 5d876a84a7fe8..145bf5664d91f 100644 --- a/frontend/src/scenes/settings/user/PersonalAPIKeys.tsx +++ b/frontend/src/scenes/settings/user/PersonalAPIKeys.tsx @@ -1,7 +1,6 @@ import { LemonBanner, LemonDialog, - LemonDivider, LemonInput, LemonLabel, LemonMenu, @@ -92,7 +91,7 @@ function EditKeyModal(): JSX.Element { value: 'teams', }, ]} - size="xsmall" + size="small" /> )} @@ -148,8 +147,8 @@ function EditKeyModal(): JSX.Element { 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}`, @@ -169,7 +168,7 @@ function EditKeyModal(): JSX.Element { } > {allOrganizations.length > 1 ? ( - <> + { allOrganizations.find( @@ -181,9 +180,9 @@ function EditKeyModal(): JSX.Element { {team.name} - + ) : ( - {team.name} + {team.name} )} ), @@ -197,7 +196,7 @@ function EditKeyModal(): JSX.Element { ) : null} -
+
Permissions