ui: Can enable federation on alarms

This commit is contained in:
nemunaire 2024-07-25 19:03:21 +02:00
commit 435d1d8f98
5 changed files with 19 additions and 2 deletions

View file

@ -5,7 +5,7 @@ export class AlarmRepeated {
}
}
update({ id, weekday, time, routines, disabled, ignore_exceptions, comment, excepts, next_time }) {
update({ id, weekday, time, routines, disabled, ignore_exceptions, comment, excepts, next_time, enable_federation }) {
this.id = id;
this.weekday = weekday;
this.time = time;
@ -13,6 +13,7 @@ export class AlarmRepeated {
this.ignore_exceptions = ignore_exceptions;
this.comment = comment;
this.disabled = disabled == true;
this.enable_federation = enable_federation == true;
if (excepts !== undefined)
this.excepts = excepts;
if (next_time !== undefined)