mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-14 15:40:47 +00:00
fix: resolved error in org settings and integrations page alert hidden on no integrations
This commit is contained in:
@@ -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}>
|
||||
|
||||
Reference in New Issue
Block a user