diff --git a/client/admin/notificationUtils/notificationLookup/notificationLookup.jsx b/client/admin/notificationUtils/notificationLookup/notificationLookup.jsx index 0ed9398c5..4f7c0b3d7 100644 --- a/client/admin/notificationUtils/notificationLookup/notificationLookup.jsx +++ b/client/admin/notificationUtils/notificationLookup/notificationLookup.jsx @@ -32,6 +32,16 @@ const NotificationLookup = createClass({ .finally(()=>this.setState({ searching: false })); }, + deleteNotification : function(){ + console.log('DELETE'); + if(!confirm(`Really delete notification ${this.state.foundNotification.dismissKey} : ${this.state.foundNotification.title}?`)) { + console.log('CANCELLED'); + return; + } + console.log('CONFIRMED'); + return; + }, + renderFoundNotification(){ const notification = this.state.foundNotification; return