fix alerting icons on panels, #556
This commit is contained in:
10
dist/datasource-zabbix/zabbixAlerting.service.js
vendored
10
dist/datasource-zabbix/zabbixAlerting.service.js
vendored
@@ -91,13 +91,9 @@ System.register(['lodash', 'jquery', 'angular'], function (_export, _context) {
|
||||
}, {
|
||||
key: 'getPanelModels',
|
||||
value: function getPanelModels() {
|
||||
return _.flatten(_.map(this.dashboardSrv.dash.rows, function (row) {
|
||||
if (row.collapse) {
|
||||
return [];
|
||||
} else {
|
||||
return row.panels;
|
||||
}
|
||||
}));
|
||||
return _.filter(this.dashboardSrv.dash.panels, function (panel) {
|
||||
return panel.type !== 'row';
|
||||
});
|
||||
}
|
||||
}, {
|
||||
key: 'getPanelModel',
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user