From 4ae4cd07232b1e1861b435d2426ebe951061465b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Mart=C3=ADnez=20Rinc=C3=B3n?= Date: Fri, 25 Oct 2019 22:46:08 +0200 Subject: [PATCH] Bind encryption source disabled state to form --- client/src/components/Settings/Encryption/Form.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/src/components/Settings/Encryption/Form.js b/client/src/components/Settings/Encryption/Form.js index 058cf918..401265b8 100644 --- a/client/src/components/Settings/Encryption/Form.js +++ b/client/src/components/Settings/Encryption/Form.js @@ -222,6 +222,7 @@ let Form = (props) => { className="form-control mr-2" value="path" placeholder={t('encryption_certificates_source_path')} + disabled={!isEnabled} /> { className="form-control mr-2" value="content" placeholder={t('encryption_certificates_source_content')} + disabled={!isEnabled} /> @@ -289,6 +291,7 @@ let Form = (props) => { className="form-control mr-2" value="path" placeholder={t('encryption_key_source_path')} + disabled={!isEnabled} /> { className="form-control mr-2" value="content" placeholder={t('encryption_key_source_content')} + disabled={!isEnabled} />