Skip to content

Commit

Permalink
fix(notification): Add missing spacer when creating a new policy (#408)
Browse files Browse the repository at this point in the history
  • Loading branch information
leSamo authored Sep 26, 2024
1 parent eff6955 commit 2a73f54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/CreatePolicyWizard/CreatePolicyWizard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const CreatePolicyWizard: React.FunctionComponent<CreatePolicyWizardProps
return saveMutation.mutate(policy).then((res) => {
if (res.payload?.type === 'Policy') {
if (policy.id === undefined) {
addSuccessNotification(`Created policy "${policy.name}"`, <span> From the Policies list, open
addSuccessNotification(`Created policy "${policy.name}"`, <span> From the Policies list, open {' '}
<Link to={ linkTo.policyDetail(res.payload.value.id as string) }>{ policy.name }</Link>.</span>);
} else {
addSuccessNotification('Saved', `Updated policy "${policy.name}"`);
Expand Down

0 comments on commit 2a73f54

Please sign in to comment.