mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-11 19:25:21 +01:00
domain lookup fix for tooltipo (#1420)
This commit is contained in:
parent
f4dd9dc5c1
commit
360b903437
2 changed files with 3 additions and 2 deletions
|
|
@ -75,7 +75,8 @@ export default class DhTooltipManager extends foundry.helpers.interaction.Toolti
|
||||||
{
|
{
|
||||||
item: item,
|
item: item,
|
||||||
description: item.system?.enrichedDescription ?? item.enrichedDescription,
|
description: item.system?.enrichedDescription ?? item.enrichedDescription,
|
||||||
config: CONFIG.DH
|
config: CONFIG.DH,
|
||||||
|
allDomains: CONFIG.DH.DOMAIN.allDomains()
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
<div class="tooltip-information-section">
|
<div class="tooltip-information-section">
|
||||||
<div class="tooltip-information">
|
<div class="tooltip-information">
|
||||||
<label>{{localize "DAGGERHEART.GENERAL.Domain.single"}}</label>
|
<label>{{localize "DAGGERHEART.GENERAL.Domain.single"}}</label>
|
||||||
{{#with (lookup config.DOMAIN.domains item.system.domain) as | domain |}}
|
{{#with (lookup allDomains item.system.domain) as | domain |}}
|
||||||
<div>{{localize domain.label}}</div>
|
<div>{{localize domain.label}}</div>
|
||||||
{{/with}}
|
{{/with}}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue