diff options
-rw-r--r-- | webapp/components/backstage/components/backstage_sidebar.jsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/webapp/components/backstage/components/backstage_sidebar.jsx b/webapp/components/backstage/components/backstage_sidebar.jsx index ea0849c8a..3434b315a 100644 --- a/webapp/components/backstage/components/backstage_sidebar.jsx +++ b/webapp/components/backstage/components/backstage_sidebar.jsx @@ -45,7 +45,9 @@ export default class BackstageSidebar extends React.Component { return null; } - if (window.mm_config.EnableOnlyAdminIntegrations !== 'false' && !TeamStore.isTeamAdmin(this.props.user.id, this.props.team.id)) { + if (window.mm_config.EnableOnlyAdminIntegrations !== 'false' && + !Utils.isSystemAdmin(this.props.user.roles) && + !TeamStore.isTeamAdmin(this.props.user.id, this.props.team.id)) { return null; } |