feat: changed blind index banner for everyone

This commit is contained in:
Akhil Mohan
2024-01-28 23:16:04 +05:30
parent bbf2634e73
commit f010a3a932
16 changed files with 62 additions and 34 deletions
@@ -25,7 +25,7 @@ export const ProjectPermissionCan: FunctionComponent<Props> = ({
allowedLabel,
...props
}) => {
const permission = useProjectPermission();
const { permission } = useProjectPermission();
return (
<Can {...props} passThrough={passThrough} ability={props?.ability || permission}>
{(isAllowed, ability) => {