From 61dae292f709ece8ed0c59fec7163d4f1e4e1ad5 Mon Sep 17 00:00:00 2001 From: Zubair Imtiaz <106450046+ZubairImtiaz3@users.noreply.github.com> Date: Mon, 28 Aug 2023 18:49:33 +0500 Subject: [PATCH] [MM-53333] Modified the delete category modal to contain a cancel button #24290 (#24317) * Added cancel button in the delete category modal Co-authored-by: Mattermost Build --- .../delete_category_modal/delete_category_modal.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/webapp/channels/src/components/delete_category_modal/delete_category_modal.tsx b/webapp/channels/src/components/delete_category_modal/delete_category_modal.tsx index dd8b4a1399..a118174553 100644 --- a/webapp/channels/src/components/delete_category_modal/delete_category_modal.tsx +++ b/webapp/channels/src/components/delete_category_modal/delete_category_modal.tsx @@ -40,6 +40,10 @@ export default class DeleteCategoryModal extends React.PureComponent { + this.props.onExited(); + }; + render() { return ( )} + handleCancel={this.handleCancel} handleConfirm={this.handleConfirm} confirmButtonText={(