sky26: can load straight from battle
This commit is contained in:
parent
1919ef3850
commit
8779d8ae31
@ -1,4 +1,14 @@
|
|||||||
<article class="scroll">
|
{#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">
|
<header class="fixed fill">
|
||||||
<nav>
|
<nav>
|
||||||
<a href="#/">
|
<a href="#/">
|
||||||
@ -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>
|
||||||
@ -135,7 +147,8 @@
|
|||||||
{/if}
|
{/if}
|
||||||
</nav>
|
</nav>
|
||||||
</footer>
|
</footer>
|
||||||
</article>
|
</article>
|
||||||
|
{/if}
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import * as R from 'remeda';
|
import * as R from 'remeda';
|
||||||
|
Loading…
Reference in New Issue
Block a user