From baa1d198336f69875a1984c3bc2f19160aae0fec Mon Sep 17 00:00:00 2001 From: Oliver Dudgeon <22367286+OliverDudgeon@users.noreply.github.com> Date: Thu, 29 Jun 2023 09:21:05 +0100 Subject: [PATCH] fix(settings): fix filter text and dropdown label in new role selector --- components/PermissionLevelSelect.tsx | 2 +- .../UserSettingsContent/UserSettingsContent.tsx | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/components/PermissionLevelSelect.tsx b/components/PermissionLevelSelect.tsx index 27532d5ba..a0720f03b 100644 --- a/components/PermissionLevelSelect.tsx +++ b/components/PermissionLevelSelect.tsx @@ -13,7 +13,7 @@ export interface PermissionLevelSelectProps { export const PermissionLevelSelect = ({ value, onChange }: PermissionLevelSelectProps) => { return ( - + {PERMISSION_LEVELS.map((level) => ( {capitalise(level === "none" ? "any" : level)} diff --git a/features/userSettings/UserSettingsContent/UserSettingsContent.tsx b/features/userSettings/UserSettingsContent/UserSettingsContent.tsx index 39af06eef..482016d50 100644 --- a/features/userSettings/UserSettingsContent/UserSettingsContent.tsx +++ b/features/userSettings/UserSettingsContent/UserSettingsContent.tsx @@ -84,13 +84,9 @@ export const UserSettingsContent = () => { - - Filter the projects you are able to see by the organisation and unit - - - {user.username} is + Filter projects for user {user.username} where role is