Add DB Version to About Page (#124)

This commit is contained in:
Qstick 2017-11-16 11:07:42 -05:00 committed by GitHub
parent b3f92ccaef
commit e8d44d1cc2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 26 additions and 3 deletions

View file

@ -15,6 +15,7 @@ class About extends Component {
version,
isMonoRuntime,
runtimeVersion,
migrationVersion,
appData,
startupPath,
mode
@ -38,6 +39,11 @@ class About extends Component {
/>
}
<DescriptionListItem
title="DB Migration"
data={migrationVersion}
/>
<DescriptionListItem
title="AppData directory"
data={appData}
@ -63,6 +69,7 @@ About.propTypes = {
version: PropTypes.string,
isMonoRuntime: PropTypes.bool,
runtimeVersion: PropTypes.string,
migrationVersion: PropTypes.number,
appData: PropTypes.string,
startupPath: PropTypes.string,
mode: PropTypes.string