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 #84 from upalatucci/cancel-button-4.14
Browse files Browse the repository at this point in the history
[release-4.14] OCPBUGS-22304: cancel button in the create policy form
  • Loading branch information
upalatucci authored Oct 24, 2023
2 parents 3e6648f + dcc8712 commit 662e6a7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/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 662e6a7

Please sign in to comment.