fix: resolved error in org settings and integrations page alert hidden on no integrations

This commit is contained in:
Akhil Mohan
2023-11-02 14:39:13 +05:30
parent 1be46b5e57
commit abbeb67b95
9 changed files with 91 additions and 98 deletions
@@ -21,7 +21,7 @@ export const OrgPermissionCan: FunctionComponent<Props> = ({
allowedLabel,
...props
}) => {
const permission = useOrgPermission();
const { permission } = useOrgPermission();
return (
<Can {...props} passThrough={passThrough} ability={props?.ability || permission}>