mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02: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');
|