feat(frontend): releases added to about page

closes #303
This commit is contained in:
sct
2020-12-20 01:22:58 +09:00
parent c128898206
commit b7f5739035
9 changed files with 565 additions and 41 deletions

View File

@@ -5,6 +5,7 @@ import List from '../../Common/List';
import LoadingSpinner from '../../Common/LoadingSpinner';
import { SettingsAboutResponse } from '../../../../server/interfaces/api/settingsInterfaces';
import { defineMessages, FormattedNumber, useIntl } from 'react-intl';
import Releases from './Releases';
const messages = defineMessages({
overseerrinformation: 'Overseerr Information',
@@ -97,6 +98,9 @@ const SettingsAbout: React.FC = () => {
</List.Item>
</List>
</div>
<div className="mb-8">
<Releases currentVersion={data.version} />
</div>
</>
);
};