Show empty KeyValue's if editing (#526)
* Show empty KeyValue's if editing * Add verification to name and user name, enforce length Co-authored-by: Kurt Hutten <k.hutten@protonmail.ch>
This commit was merged in pull request #526.
This commit is contained in:
@@ -53,7 +53,7 @@ const ProfileKeyValue = ({
|
||||
bottom = false,
|
||||
}: ProfileKeyValueType) => {
|
||||
return (
|
||||
user[field.name] && (
|
||||
(user[field.name] || hasPermissionToEdit) && (
|
||||
<KeyValue
|
||||
keyName={field.name}
|
||||
edit={{
|
||||
|
||||
Reference in New Issue
Block a user