diff --git a/client/modules/users/components/Notifications.js b/client/modules/users/components/Notifications.js index 4f6a6a50..05d29a56 100644 --- a/client/modules/users/components/Notifications.js +++ b/client/modules/users/components/Notifications.js @@ -1,6 +1,6 @@ import React, {Component} from 'react' import {connect} from 'react-redux' -import {Link} from 'react-router-dom' +//import {Link} from 'react-router-dom' import {Button} from 'react-bootstrap' import {SizePerPageDropDown, BootstrapTable, TableHeaderColumn} from 'react-bootstrap-table' import 'react-bootstrap-table/dist/react-bootstrap-table.min.css' @@ -52,13 +52,17 @@ class NotificationsList extends Component { `Notification ${id} will be permanently deleted` ) + viewAndDeleteNotification = notification => () => { + this.props.deleteNotification(notification.index) + this.props.deleteNotificationState(notification.index) + } + getActionButtons2 = (_, notification) =>