kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Pull dashboard Soapbox version from utils/code.js
rodzic
e0df861658
commit
e6b1284f97
|
@ -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>
|
||||
|
|
Ładowanie…
Reference in New Issue