Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

Commit

Permalink
Merge pull request #80 from upalatucci/cancel-policy-form
Browse files Browse the repository at this point in the history
OCPBUGS-18330: cancel button in the create policy form
  • Loading branch information
openshift-merge-robot authored Sep 1, 2023
2 parents 290a743 + 170573c commit ade5b3b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/views/policies/new/NewPolicy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ const NewPolicy: FC = () => {
>
{t('Create')}
</Button>

<Button onClick={history.goBack} variant={ButtonVariant.secondary}>
{t('Cancel')}
</Button>
</ActionGroup>
</PageSection>
);
Expand Down

0 comments on commit ade5b3b

Please sign in to comment.