Skip to content

Commit

Permalink
fix(ProjectSettingsPage): change modal event on transfer ownership bu…
Browse files Browse the repository at this point in the history
…tton
  • Loading branch information
draculola1 authored and DenisVorop committed Jul 25, 2023
1 parent 51e8a9c commit 8cffb63
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/ProjectSettingsPage/ProjectSettingsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,11 @@ export const ProjectSettingsPage = ({ user, ssrTime, params: { id } }: ExternalP
/>
</FormAction>
<FormAction right inline>
<Button size="m" text={tr('Cancel')} onClick={onDeleteCancel} />
<Button
size="m"
text={tr('Cancel')}
onClick={dispatchModalEvent(ModalEvent.ProjectTransferModal)}
/>
<Button
size="m"
view="warning"
Expand Down

0 comments on commit 8cffb63

Please sign in to comment.