mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-14 04:31:07 +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;
|
return acc;
|
||||||
}, {});
|
}, {});
|
||||||
|
context.showOwnership = Boolean(Object.keys(context.ownership).length);
|
||||||
|
|
||||||
return context;
|
return context;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<div class="ownership-outer-container">
|
<div class="ownership-outer-container">
|
||||||
{{#if ownership.length}}
|
{{#if showOwnership}}
|
||||||
<ul class="ownership-list">
|
<ul class="ownership-list">
|
||||||
{{#each ownership as |player id|}}
|
{{#each ownership as |player id|}}
|
||||||
<li class="ownership-container">
|
<li class="ownership-container">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue