Merge branch 'feature/5620-hide-org-filter-menu' into saas/3.0

This commit is contained in:
odain
2022-11-22 13:47:33 +01:00
2 changed files with 17 additions and 7 deletions

View File

@@ -294,6 +294,14 @@ class NavigationMenu extends UIBlock implements iKeyboardShortcut
return MetaModel::GetConfig()->Get('navigation_menu.show_organization_filter');
}
/**
* @return True if the silo selection is enabled, false otherwise
* @since 3.1.0
*/
public function IsSiloSelectionEnabled() : bool {
return MetaModel::GetConfig()->Get('navigation_menu.show_organization_filter');
}
/**
* @return void
* @throws \CoreException