Implemented a javascript code style
This commit is contained in:
@@ -2,9 +2,9 @@ Template.proficiencyViewList.helpers({
|
||||
proficiencies: function(){
|
||||
var selector = {
|
||||
"parent.id": this.parentId,
|
||||
"charId": this.charId
|
||||
"charId": this.charId,
|
||||
};
|
||||
if(this.parentGroup){
|
||||
if (this.parentGroup){
|
||||
selector["parent.group"] = this.parentGroup;
|
||||
}
|
||||
return Proficiencies.find(selector);
|
||||
|
||||
Reference in New Issue
Block a user