cleanup comment
This commit is contained in:
parent
6db93ef0c7
commit
f90c5a636b
1 changed files with 0 additions and 1 deletions
|
|
@ -119,7 +119,6 @@ export default function SettingsSidebar() {
|
||||||
}, [location.pathname]);
|
}, [location.pathname]);
|
||||||
|
|
||||||
const canShowItem = (item: DataItem) => {
|
const canShowItem = (item: DataItem) => {
|
||||||
// For items with showDisabledInCommunity, always show them but in disabled state
|
|
||||||
if (item.showDisabledInNonEE && item.isEnterprise) {
|
if (item.showDisabledInNonEE && item.isEnterprise) {
|
||||||
// Check admin permission regardless of license
|
// Check admin permission regardless of license
|
||||||
return item.isAdmin ? isAdmin : true;
|
return item.isAdmin ? isAdmin : true;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue