diff --git a/console/src/components/Services/EventTrigger/Settings/Settings.js b/console/src/components/Services/EventTrigger/Settings/Settings.js index 91bd46deae9..5d33492ba2e 100644 --- a/console/src/components/Services/EventTrigger/Settings/Settings.js +++ b/console/src/components/Services/EventTrigger/Settings/Settings.js @@ -20,8 +20,12 @@ class Settings extends Component { )[0]; triggerSchema = triggerSchema ? triggerSchema : {}; - const handleDeleteTrigger = () => { - dispatch(deleteTrigger(triggerName)); + const handleDeleteTrigger = e => { + e.preventDefault(); + const isOk = confirm('Are you sure?'); + if (isOk) { + dispatch(deleteTrigger(triggerName)); + } }; return (