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"> <article class="scroll">
<header class="fixed fill"> <header class="fixed fill">
<nav> <nav>
@ -57,7 +67,9 @@
on:change={changeCharacter(i)} on:change={changeCharacter(i)}
selection={c.selection} selection={c.selection}
choices={minusSelected( choices={minusSelected(
status === 'ongoing' && wave == 1 ? c.choices : [], status === 'ongoing' && wave == 1
? c.choices
: [],
)} )}
/> />
</dd> </dd>
@ -136,6 +148,7 @@
</nav> </nav>
</footer> </footer>
</article> </article>
{/if}
<script> <script>
import * as R from 'remeda'; import * as R from 'remeda';