feature/IO-3497-Ant-Design-v5-to-v6 - Signed off Files (Checkpoint)
This commit is contained in:
@@ -21,7 +21,7 @@ function RbacWrapper({ authLevel, bodyshop, requiredAuthLevel, noauth, children,
|
||||
return children;
|
||||
//return <div>{React.cloneElement(children, restProps)}</div>;
|
||||
|
||||
return noauth || <AlertComponent message={t("general.messages.rbacunauth")} type="warning" />;
|
||||
return noauth || <AlertComponent title={t("general.messages.rbacunauth")} type="warning" />;
|
||||
}
|
||||
|
||||
export function HasRbacAccess({ authLevel, bodyshop, requiredAuthLevel, action }) {
|
||||
|
||||
Reference in New Issue
Block a user