Disable save button if key or certificate is empty

This commit is contained in:
Ildar Kamalov 2019-02-20 13:33:42 +03:00
parent 2c2295c161
commit 9c8e4c64ea
1 changed files with 1 additions and 0 deletions

View File

@ -298,6 +298,7 @@ let Form = (props) => {
|| submitting || submitting
|| processingConfig || processingConfig
|| processingValidate || processingValidate
|| (isEnabled && (!privateKey || !certificateChain))
|| (privateKey && !valid_key) || (privateKey && !valid_key)
|| (certificateChain && !valid_cert) || (certificateChain && !valid_cert)
} }