sky26: can load straight from battle

This commit is contained in:
Yanick Champoux 2023-01-16 10:20:54 -05:00
parent 1919ef3850
commit 8779d8ae31

View File

@ -1,3 +1,13 @@
{#if !$activeCampaign}
<div class="fill medium-height middle-align center-align">
<div class="center-align">
<h5>Loading...</h5>
<div class="space">
<a class="loader large" />
</div>
</div>
</div>
{:else}
<article class="scroll">
<header class="fixed fill">
<nav>
@ -57,7 +67,9 @@
on:change={changeCharacter(i)}
selection={c.selection}
choices={minusSelected(
status === 'ongoing' && wave == 1 ? c.choices : [],
status === 'ongoing' && wave == 1
? c.choices
: [],
)}
/>
</dd>
@ -136,6 +148,7 @@
</nav>
</footer>
</article>
{/if}
<script>
import * as R from 'remeda';