Manage version configurations client versions (#7220)
* Add config values for client versions. Return client versions in ping response. * Manage client version through System Console. * Added client versions to diagnostics * Added translations messages en.json file. * Hide Client Versions on System Console.
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
9e95af7809
Коммит
510b1a18f5
@@ -277,6 +277,22 @@ export default class AdminSidebar extends React.Component {
|
||||
);
|
||||
}
|
||||
|
||||
const SHOW_CLIENT_VERSIONS = false;
|
||||
let clientVersions = null;
|
||||
if (SHOW_CLIENT_VERSIONS) {
|
||||
clientVersions = (
|
||||
<AdminSidebarSection
|
||||
name='client_versions'
|
||||
title={
|
||||
<FormattedMessage
|
||||
id='admin.sidebar.client_versions'
|
||||
defaultMessage='Client Versions'
|
||||
/>
|
||||
}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<div className='admin-sidebar'>
|
||||
<AdminSidebarHeader/>
|
||||
@@ -477,6 +493,7 @@ export default class AdminSidebar extends React.Component {
|
||||
/>
|
||||
}
|
||||
/>
|
||||
{clientVersions}
|
||||
</AdminSidebarSection>
|
||||
<AdminSidebarSection
|
||||
name='notifications'
|
||||
|
||||
Ссылка в новой задаче
Block a user