diff --git a/framework/core/js/src/admin/components/PermissionGrid.tsx b/framework/core/js/src/admin/components/PermissionGrid.tsx index f117e470f1..71999551a8 100644 --- a/framework/core/js/src/admin/components/PermissionGrid.tsx +++ b/framework/core/js/src/admin/components/PermissionGrid.tsx @@ -177,7 +177,7 @@ export default class PermissionGrid { if ('setting' in item) { - return item.setting(); + return item.setting?.(); } else if ('permission' in item) { return ; }