Enable the ammo popover on the combined sheet (closes #44)

This commit is contained in:
Oliver-Akins 2025-07-09 20:12:31 -06:00
parent 88131aabe0
commit 38c83586e5
2 changed files with 2 additions and 2 deletions

View file

@ -58,6 +58,7 @@ export class CombinedHeroSheet extends GenericAppMixin(HandlebarsApplicationMixi
); );
const skillsElement = this.element.querySelector(`.SkillsCardV1`); const skillsElement = this.element.querySelector(`.SkillsCardV1`);
SkillsCardV1._createPopoverListeners.bind(this)();
SkillsCardV1._onRender.bind(this)( SkillsCardV1._onRender.bind(this)(
context, context,
{ {

View file

@ -1,5 +1,4 @@
<div data-tooltip-direction="RIGHT"> <div data-tooltip-direction="RIGHT">
{{log @root}}
{{#if ammos}} {{#if ammos}}
<ul> <ul>
{{#each ammos as | data |}} {{#each ammos as | data |}}
@ -47,7 +46,7 @@
</ul> </ul>
{{else}} {{else}}
<span class="placeholder"> <span class="placeholder">
{{ rc-i18n "RipCrypt.Apps.no-ammo" }} {{ rc-i18n "RipCrypt.Apps.AmmoTracker.no-ammo" }}
</span> </span>
{{/if}} {{/if}}
</div> </div>