diff --git a/ui/src/alerts/components/AlertsTable.js b/ui/src/alerts/components/AlertsTable.js index b57e9ecc2c..ce616969c0 100644 --- a/ui/src/alerts/components/AlertsTable.js +++ b/ui/src/alerts/components/AlertsTable.js @@ -30,11 +30,6 @@ const AlertsTable = React.createClass({ this.setFilteredAlerts(newProps.alerts, this.state.searchTerm); }, - filterAlerts(allAlerts, searchTerm) { - const alerts = allAlerts.filter((h) => h.name.search(searchTerm) !== -1); - this.setState({searchTerm, filteredAlerts: alerts}); - }, - setFilteredAlerts(allAlerts, searchTerm) { const alerts = allAlerts.filter((h) => h.name.search(searchTerm) !== -1); this.setState({searchTerm, filteredAlerts: alerts});