Added the ability to hide the spells tab for a character
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user