Skip to content

Commit

Permalink
Send alert ID to UI
Browse files Browse the repository at this point in the history
This will allow alert detail page links on the alert list page to work again.
  • Loading branch information
alison985 authored Jul 21, 2017
1 parent 5d5af36 commit 776e52a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/app/pages/alerts-list/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class AlertsListCtrl {
this.alerts = new Paginator([], { itemsPerPage: 20 });
Alert.query((alerts) => {
this.alerts.updateRows(alerts.map(alert => ({
id: alert.id,
name: alert.name,
state: alert.state,
class: stateClass[alert.state],
Expand Down

0 comments on commit 776e52a

Please sign in to comment.