fix: show placeholder password when editing asset
This commit is contained in:
@@ -62,14 +62,6 @@ const AccountTypeForm: React.FC<AccountTypeFormProps> = ({
|
||||
onViewSecret()
|
||||
}
|
||||
}
|
||||
},
|
||||
onChange: (e) => {
|
||||
let val = e.target.value;
|
||||
if (val.startsWith("******")) {
|
||||
val = val.substring(6);
|
||||
formRef?.current?.setFieldValue('password', val);
|
||||
setDecrypted(true);
|
||||
}
|
||||
}
|
||||
}}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user