Policies
@@ -368,7 +368,7 @@ const UserDetails = ({ classes, match }: IUserDetailsProps) => {
{
type: "view",
onClick: (policy: IPolicyItem) => {
- history.push(
+ navigate(
`${IAM_PAGES.POLICIES}/${encodeURLString(
policy.policy
)}`
@@ -383,13 +383,13 @@ const UserDetails = ({ classes, match }: IUserDetailsProps) => {
idField="policy"
/>
-