mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Add new rules report
This commit is contained in:
parent
4aee129cdc
commit
1d4a65d0b4
4 changed files with 108 additions and 0 deletions
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue