You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Confirmations for destructive actions have no Cancel button #3955
I understand this is a bug report and questions should be posted in the Community Discussions
I searched issues and couldn’t find anything (or linked relevant results below)
Bug Description
Confirmations for destructive actions (deleting users, groups or spaces, "Delete permanently", emptying the trash) only have the "Delete" button, cancelling is the small X in the title bar. We already do it right in the "Unsaved changes" dialog, which has a Cancel button. Let's add a simple modal prop for it and use it in the destructive confirmations, and in "Unsaved changes" instead of its hand-made button.
Reproduction Steps
Admin settings > Users: select a user and click "Delete".
Look at the buttons of the dialog.
Expected Outcome
A visible "Cancel" button next to "Delete" in confirmations of destructive actions.
Actual Outcome
Only "Delete", plus the close icon in the title bar.
Activity