PLT-3802 Moved compliance section of system console back to the bottom of the sidebar (#3751)
Этот коммит содержится в:
коммит произвёл
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 (
|
return (
|
||||||
<div className='admin-sidebar'>
|
<div className='admin-sidebar'>
|
||||||
<AdminSidebarHeader/>
|
<AdminSidebarHeader/>
|
||||||
@@ -347,7 +366,6 @@ export default class AdminSidebar extends React.Component {
|
|||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
{audits}
|
|
||||||
<AdminSidebarSection
|
<AdminSidebarSection
|
||||||
name='logs'
|
name='logs'
|
||||||
title={
|
title={
|
||||||
@@ -675,18 +693,7 @@ export default class AdminSidebar extends React.Component {
|
|||||||
</AdminSidebarSection>
|
</AdminSidebarSection>
|
||||||
</AdminSidebarCategory>
|
</AdminSidebarCategory>
|
||||||
{this.renderTeams()}
|
{this.renderTeams()}
|
||||||
<AdminSidebarCategory
|
{otherCategory}
|
||||||
parentLink='/admin_console'
|
|
||||||
icon='fa-wrench'
|
|
||||||
title={
|
|
||||||
<FormattedMessage
|
|
||||||
id='admin.sidebar.other'
|
|
||||||
defaultMessage='OTHER'
|
|
||||||
/>
|
|
||||||
}
|
|
||||||
>
|
|
||||||
{license}
|
|
||||||
</AdminSidebarCategory>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<SelectTeamModal
|
<SelectTeamModal
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user