mirror of
https://github.com/docmost/docmost.git
synced 2025-11-10 06:42:06 +10:00
cleanup comment
This commit is contained in:
@ -119,7 +119,6 @@ export default function SettingsSidebar() {
|
||||
}, [location.pathname]);
|
||||
|
||||
const canShowItem = (item: DataItem) => {
|
||||
// For items with showDisabledInCommunity, always show them but in disabled state
|
||||
if (item.showDisabledInNonEE && item.isEnterprise) {
|
||||
// Check admin permission regardless of license
|
||||
return item.isAdmin ? isAdmin : true;
|
||||
|
||||
Reference in New Issue
Block a user