Can update exception ignore field

This commit is contained in:
nemunaire 2022-12-15 18:40:50 +01:00
commit 45efc3601e
2 changed files with 9 additions and 5 deletions

View file

@ -12,8 +12,10 @@ export class AlarmRepeated {
this.routines = routines == null ? [] : routines;
this.ignore_exceptions = ignore_exceptions;
this.comment = comment;
this.excepts = excepts;
this.next_time = next_time;
if (excepts !== undefined)
this.excepts = excepts;
if (next_time !== undefined)
this.next_time = next_time;
if (this.routines.length < 1) {
this.routines.push("");