From 222875d5fa177b203c660eb8e75deac94ccf4b92 Mon Sep 17 00:00:00 2001 From: Frank Johnson Date: Wed, 22 Sep 2021 23:08:07 -0400 Subject: [PATCH] Show empty KeyValue's if editing --- app/web/src/components/UserProfile/userProfileConfig.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/web/src/components/UserProfile/userProfileConfig.tsx b/app/web/src/components/UserProfile/userProfileConfig.tsx index 14fc1c2..e3a0138 100644 --- a/app/web/src/components/UserProfile/userProfileConfig.tsx +++ b/app/web/src/components/UserProfile/userProfileConfig.tsx @@ -53,7 +53,7 @@ const ProfileKeyValue = ({ bottom = false, }: ProfileKeyValueType) => { return ( - user[field.name] && ( + (user[field.name] || hasPermissionToEdit) && (