fix default criteria

This commit is contained in:
Simon Larsen 2023-11-17 13:10:53 +00:00
parent 0b37a63c84
commit aaf60f39ac
No known key found for this signature in database
GPG Key ID: AB45983AA9C81CDE

View File

@ -108,7 +108,7 @@ export default class MonitorCriteriaInstance extends DatabaseProperty {
monitorCriteriaInstance.data = { monitorCriteriaInstance.data = {
id: ObjectID.generate().toString(), id: ObjectID.generate().toString(),
monitorStatusId: arg.monitorStatusId, monitorStatusId: arg.monitorStatusId,
filterCondition: FilterCondition.All, filterCondition: FilterCondition.Any,
filters: [ filters: [
{ {
checkOn: CheckOn.IsOnline, checkOn: CheckOn.IsOnline,