Pull dashboard Soapbox version from utils/code.js
This commit is contained in:
parent
e0df861658
commit
e6b1284f97
1 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@ import ImmutablePropTypes from 'react-immutable-proptypes';
|
|||
import Column from '../ui/components/column';
|
||||
import RegistrationModePicker from './components/registration_mode_picker';
|
||||
import { parseVersion } from 'soapbox/utils/features';
|
||||
import sourceCode from 'soapbox/utils/code';
|
||||
|
||||
const messages = defineMessages({
|
||||
heading: { id: 'column.admin.dashboard', defaultMessage: 'Dashboard' },
|
||||
|
@ -68,7 +69,7 @@ class Dashboard extends ImmutablePureComponent {
|
|||
<div className='dashwidget'>
|
||||
<h4><FormattedMessage id='admin.dashwidgets.software_header' defaultMessage='Software' /></h4>
|
||||
<ul>
|
||||
<li>Soapbox FE <span className='pull-right'>1.1.0</span></li>
|
||||
<li>Soapbox FE <span className='pull-right'>{sourceCode.version}</span></li>
|
||||
<li>{v.software} <span className='pull-right'>{v.version}</span></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue