Added the ability to hide the spells tab for a character

This commit is contained in:
Stefan Zermatten
2015-05-27 08:10:14 +02:00
parent 5b8c25f5de
commit 90e511eb00
5 changed files with 40 additions and 7 deletions

View File

@@ -17,6 +17,10 @@ Template.characterSheet.helpers({
selectedTab: function(){
return getTab(this._id);
},
hideSpellcasting: function() {
var char = Characters.findOne(this._id);
return char && char.settings.hideSpellcasting;
}
});
Template.characterSheet.events({