mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
Fix Teams tab push bug (#1008)
This commit is contained in:
parent
70e416f263
commit
f57768b131
1 changed files with 2 additions and 1 deletions
|
|
@ -52,7 +52,8 @@ const SettingsWrapper = (props: ISettingsWrapperProp): JSX.Element => {
|
|||
|
||||
// Add Teams tab for basic tier only
|
||||
const config = useSelector((state: IRootState) => state.app.config);
|
||||
if (permissionUtils.isBasicTier(config)) {
|
||||
|
||||
if (settingsSubNav.length === 2 && permissionUtils.isBasicTier(config)) {
|
||||
settingsSubNav.push({
|
||||
name: "Teams",
|
||||
pathname: PATHS.ADMIN_TEAMS,
|
||||
|
|
|
|||
Loading…
Reference in a new issue