Disable save button if key or certificate is empty
This commit is contained in:
parent
2c2295c161
commit
9c8e4c64ea
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue