Preliminary additions
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
Template.buffViewList.helpers({
|
||||
buffs: function(){
|
||||
var selector = {
|
||||
"parent.id": this.parentId,
|
||||
"charId": this.charId,
|
||||
};
|
||||
if (this.parentGroup){
|
||||
selector["parent.group"] = this.parentGroup;
|
||||
}
|
||||
return Buffs.find(selector);
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user