Skip to content

Commit

Permalink
pr resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
NabeelAyubee committed Sep 9, 2024
1 parent 37bf94c commit 8642f0a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ let propsForCSR = [
}
];

propsForCSR = propsForCSR.filter(link => link.roles && Digit.Utils.didEmployeeHasRole(link.roles) );
propsForCSR = propsForCSR.filter(link => link?.roles ? Digit.Utils.didEmployeeHasAtleastOneRole(link.roles) : true );

const propsForModuleCard = {
Icon: <Icon />,
Expand Down

0 comments on commit 8642f0a

Please sign in to comment.