Merge pull request #384 in DNS/adguard-home from 1123-disable-encryption-sources to master
* commit '4ae4cd07232b1e1861b435d2426ebe951061465b': Bind encryption source disabled state to form
This commit is contained in:
commit
359cab5290
|
@ -222,6 +222,7 @@ let Form = (props) => {
|
||||||
className="form-control mr-2"
|
className="form-control mr-2"
|
||||||
value="path"
|
value="path"
|
||||||
placeholder={t('encryption_certificates_source_path')}
|
placeholder={t('encryption_certificates_source_path')}
|
||||||
|
disabled={!isEnabled}
|
||||||
/>
|
/>
|
||||||
<Field
|
<Field
|
||||||
name="certificate_source"
|
name="certificate_source"
|
||||||
|
@ -230,6 +231,7 @@ let Form = (props) => {
|
||||||
className="form-control mr-2"
|
className="form-control mr-2"
|
||||||
value="content"
|
value="content"
|
||||||
placeholder={t('encryption_certificates_source_content')}
|
placeholder={t('encryption_certificates_source_content')}
|
||||||
|
disabled={!isEnabled}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -289,6 +291,7 @@ let Form = (props) => {
|
||||||
className="form-control mr-2"
|
className="form-control mr-2"
|
||||||
value="path"
|
value="path"
|
||||||
placeholder={t('encryption_key_source_path')}
|
placeholder={t('encryption_key_source_path')}
|
||||||
|
disabled={!isEnabled}
|
||||||
/>
|
/>
|
||||||
<Field
|
<Field
|
||||||
name="key_source"
|
name="key_source"
|
||||||
|
@ -297,6 +300,7 @@ let Form = (props) => {
|
||||||
className="form-control mr-2"
|
className="form-control mr-2"
|
||||||
value="content"
|
value="content"
|
||||||
placeholder={t('encryption_key_source_content')}
|
placeholder={t('encryption_key_source_content')}
|
||||||
|
disabled={!isEnabled}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue