feat(fleet): integrate trip management and fee coverage workflows
This commit is contained in:
@@ -102,7 +102,8 @@ export function buildNavigationPermissionTree(
|
||||
}
|
||||
|
||||
function navigationNode(node: AdminNavigationNode): RolePermissionTreeNode | null {
|
||||
if (node.hidden) return null
|
||||
// Hiding a formal sidebar entry must not remove its existing assignable permissions.
|
||||
if (node.hidden && !node.permission && !node.permissionAnyOf?.length) return null
|
||||
|
||||
if (node.children?.length) {
|
||||
const children = node.children
|
||||
|
||||
Reference in New Issue
Block a user