mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix(alert_tab): fix broken alert history
This commit is contained in:
@@ -106,6 +106,13 @@ export class AlertTabCtrl {
|
||||
}));
|
||||
}
|
||||
|
||||
changeTabIndex(newTabIndex) {
|
||||
this.subTabIndex = newTabIndex;
|
||||
|
||||
if (this.subTabIndex === 2) {
|
||||
this.getAlertHistory();
|
||||
}
|
||||
}
|
||||
|
||||
notificationAdded() {
|
||||
var model = _.findWhere(this.notifications, {name: this.addNotificationSegment.value});
|
||||
|
||||
Reference in New Issue
Block a user