Show empty KeyValue's if editing #526

Merged
franknoirot merged 2 commits from bugfix-525 into main 2021-09-23 10:51:45 +02:00
Showing only changes of commit 222875d5fa - Show all commits

View File

@@ -53,7 +53,7 @@ const ProfileKeyValue = ({
bottom = false, bottom = false,
}: ProfileKeyValueType) => { }: ProfileKeyValueType) => {
return ( return (
user[field.name] && ( (user[field.name] || hasPermissionToEdit) && (
<KeyValue <KeyValue
keyName={field.name} keyName={field.name}
edit={{ edit={{