ui: Can enable federation on alarms
This commit is contained in:
parent
3a6187d791
commit
435d1d8f98
5 changed files with 19 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue