Added validation on change and enable encryption checkbox

This commit is contained in:
Ildar Kamalov
2019-02-18 16:06:27 +03:00
parent d44f68e844
commit 05cce8b107
15 changed files with 356 additions and 123 deletions

View File

@@ -11,9 +11,12 @@ import {
getDhcpInterfaces,
setDhcpConfig,
findActiveDhcp,
} from '../actions';
import {
getTlsStatus,
setTlsConfig,
} from '../actions';
validateTlsConfig,
} from '../actions/encryption';
import Settings from '../components/Settings';
const mapStateToProps = (state) => {
@@ -46,6 +49,7 @@ const mapDispatchToProps = {
findActiveDhcp,
getTlsStatus,
setTlsConfig,
validateTlsConfig,
};
export default connect(