mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
15 lines
261 B
JavaScript
15 lines
261 B
JavaScript
BlazeComponent.extendComponent({
|
|
onCreated() {
|
|
this.subscribe('allRules');
|
|
},
|
|
|
|
rules() {
|
|
const boardId = Session.get('currentBoard');
|
|
return Rules.find({
|
|
boardId,
|
|
});
|
|
},
|
|
events() {
|
|
return [{}];
|
|
},
|
|
}).register('rulesList');
|