1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-13 11:29:53 +03:00

Report logic condiotion activation status

This commit is contained in:
Pawel Spychalski (DzikuVx) 2019-09-14 12:55:16 +02:00
parent e3b89453e8
commit 9c627f7445
9 changed files with 109 additions and 1 deletions

View file

@ -73,5 +73,15 @@ let LogicConditionsCollection = function () {
};
self.update = function(statuses) {
let $table = $container.find(".logic__table")
for (let k in self.get()) {
if (self.get().hasOwnProperty(k)) {
self.get()[k].update(k, statuses.get(k), $table);
}
}
}
return self;
};