Problems: add min severity filter
This commit is contained in:
@@ -132,6 +132,7 @@ function migrateOptions(panel) {
|
||||
return {
|
||||
hostsInMaintenance: panel.hostsInMaintenance,
|
||||
sortProblems: panel.sortTriggersBy?.value === 'priority' ? 'priority' : 'default',
|
||||
minSeverity: 0,
|
||||
acknowledged: acknowledged,
|
||||
limit: limit,
|
||||
};
|
||||
|
||||
@@ -67,6 +67,7 @@ describe('Triggers Panel schema migration', () => {
|
||||
hostsInMaintenance: false,
|
||||
acknowledged: 0,
|
||||
sortProblems: 'default',
|
||||
minSeverity: 0,
|
||||
limit: 10,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user