Fix password field
This commit is contained in:
@ -119,10 +119,7 @@ export const ItemFieldValue: React.FC<{
|
||||
export const ItemDetailsFieldValue: React.FC<{
|
||||
field: ItemField
|
||||
}> = ({ field }) => {
|
||||
if (
|
||||
field.type === FieldType.Password ||
|
||||
(field.type === FieldType.Text && field.designation === "password")
|
||||
) {
|
||||
if (field.type === FieldType.Password || field.designation === "password") {
|
||||
return <Password field={{ v: field.value } as any} />
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user