Show random status and warning

This commit is contained in:
Ildar Kamalov
2019-01-30 16:24:17 +03:00
committed by Eugene Bujak
parent c5b1105fc1
commit c025c845d2
3 changed files with 33 additions and 12 deletions

View File

@@ -51,12 +51,12 @@ class App extends Component {
}
render() {
const { dashboard } = this.props;
const { dashboard, encryption } = this.props;
const updateAvailable =
!dashboard.processingVersions &&
dashboard.isCoreRunning &&
dashboard.isUpdateAvailable;
const isExpiringCertificate = false;
const isExpiringCertificate = !encryption.processing && encryption.warning;
return (
<HashRouter hashType='noslash'>