Merge: - client: request tls status on app load

Closes #851

* commit '640620288892afad7b84cc3b25d96bab10cdb5d6':
  - client: fix version alignment
  - client: request tls status on app load
This commit is contained in:
Ildar Kamalov
2019-07-02 09:40:49 +03:00
3 changed files with 4 additions and 3 deletions

View File

@@ -91,6 +91,7 @@
.nav-version__text {
display: flex;
align-items: center;
justify-content: flex-end;
}

View File

@@ -11,9 +11,7 @@ import Loading from '../../ui/Loading';
class Encryption extends Component {
componentDidMount() {
const { getTlsStatus, validateTlsConfig, encryption } = this.props;
getTlsStatus();
const { validateTlsConfig, encryption } = this.props;
if (encryption.enabled) {
validateTlsConfig(encryption);