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

Commit

Permalink
OCPBUGS-18330: cancel button in the create policy form
Browse files Browse the repository at this point in the history
  • Loading branch information
upalatucci committed Oct 24, 2023
1 parent 65e0b60 commit 3abd3a2
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 3abd3a2

Please sign in to comment.