mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-11 19:25:21 +01:00
Corrected noPlayers condition
This commit is contained in:
parent
9cb014888b
commit
23c4dbcaac
2 changed files with 2 additions and 1 deletions
|
|
@ -51,6 +51,7 @@ export default class OwnershipSelection extends HandlebarsApplicationMixin(Appli
|
|||
|
||||
return acc;
|
||||
}, {});
|
||||
context.showOwnership = Boolean(Object.keys(context.ownership).length);
|
||||
|
||||
return context;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<div class="ownership-outer-container">
|
||||
{{#if ownership.length}}
|
||||
{{#if showOwnership}}
|
||||
<ul class="ownership-list">
|
||||
{{#each ownership as |player id|}}
|
||||
<li class="ownership-container">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue