PLT-3802 Moved compliance section of system console back to the bottom of the sidebar (#3751)

Этот коммит содержится в:
Harrison Healey
2016-08-08 09:57:17 -04:00
коммит произвёл enahum
родитель f9e2674e35
Коммит d2aa2a7396

Просмотреть файл

@@ -323,6 +323,25 @@ export default class AdminSidebar extends React.Component {
);
}
let otherCategory = null;
if (license || audits) {
otherCategory = (
<AdminSidebarCategory
parentLink='/admin_console'
icon='fa-wrench'
title={
<FormattedMessage
id='admin.sidebar.other'
defaultMessage='OTHER'
/>
}
>
{license}
{audits}
</AdminSidebarCategory>
);
}
return (
<div className='admin-sidebar'>
<AdminSidebarHeader/>
@@ -347,7 +366,6 @@ export default class AdminSidebar extends React.Component {
/>
}
/>
{audits}
<AdminSidebarSection
name='logs'
title={
@@ -675,18 +693,7 @@ export default class AdminSidebar extends React.Component {
</AdminSidebarSection>
</AdminSidebarCategory>
{this.renderTeams()}
<AdminSidebarCategory
parentLink='/admin_console'
icon='fa-wrench'
title={
<FormattedMessage
id='admin.sidebar.other'
defaultMessage='OTHER'
/>
}
>
{license}
</AdminSidebarCategory>
{otherCategory}
</ul>
</div>
<SelectTeamModal