Merge branch 'develop'

master
sct 2 years ago
commit 714f244d6a

@ -118,7 +118,11 @@ const MobileMenu = () => {
]; ];
const filteredLinks = menuLinks.filter( const filteredLinks = menuLinks.filter(
(link) => !link.requiredPermission || hasPermission(link.requiredPermission) (link) =>
!link.requiredPermission ||
hasPermission(link.requiredPermission, {
type: link.permissionType ?? 'and',
})
); );
return ( return (

Loading…
Cancel
Save