Files
DiceCloud/rpg-docs/client/views/character/buffs/customBuffViewList/customBuffViewList.js
2017-08-09 15:01:20 +01:00

10 lines
183 B
JavaScript

Template.customBuffViewList.helpers({
buffs: function(){
var selector = {
"parent.id": this.parentId,
"charId": this.charId,
};
return CustomBuffs.find(selector);
}
});