Made hero attribute reactive and iterated inventory UI
This commit is contained in:
5
rpg-docs/client/globalHelpers/detailHero.js
Normal file
5
rpg-docs/client/globalHelpers/detailHero.js
Normal file
@@ -0,0 +1,5 @@
|
||||
Template.registerHelper("detailHero", function(){
|
||||
if ( Session.equals("global.ui.detailHeroId", this._id) ) {
|
||||
return "hero";
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user