From ba971beea3cbb79bd654236a2607e6de2084512c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maren=20S=C3=BCwer?= Date: Fri, 1 Feb 2019 10:43:11 +0100 Subject: [PATCH] do not forward close button but close function as button is always the same --- .../packages/ui-components/src/modals/ConfirmAlert.js | 9 +-------- .../packages/ui-components/src/modals/Modal.js | 10 +++++++--- .../containers/AdvancedPermissionsDialog.js | 5 +---- 3 files changed, 9 insertions(+), 15 deletions(-) diff --git a/scm-ui-components/packages/ui-components/src/modals/ConfirmAlert.js b/scm-ui-components/packages/ui-components/src/modals/ConfirmAlert.js index e9ecffefd9..13d5bae5f8 100644 --- a/scm-ui-components/packages/ui-components/src/modals/ConfirmAlert.js +++ b/scm-ui-components/packages/ui-components/src/modals/ConfirmAlert.js @@ -29,13 +29,6 @@ class ConfirmAlert extends React.Component { render() { const { title, message, buttons } = this.props; - const closeButton = ( -