Add new rules report

This commit is contained in:
John R. Supplee 2021-04-12 11:44:28 +02:00
parent 4aee129cdc
commit 1d4a65d0b4
4 changed files with 108 additions and 0 deletions

View file

@ -62,6 +62,15 @@ Rules.helpers({
getTrigger() {
return Triggers.findOne({ _id: this.triggerId });
},
board() {
return Boards.findOne({ _id: this.boardId });
},
trigger() {
return Triggers.findOne({ _id: this.triggerId });
},
action() {
return Actions.findOne({ _id: this.actionId });
},
});
Rules.allow({