diff --git a/src/lib/components/reps/SummonRep.svelte b/src/lib/components/reps/SummonRep.svelte index 820bef4b..31991be2 100644 --- a/src/lib/components/reps/SummonRep.svelte +++ b/src/lib/components/reps/SummonRep.svelte @@ -13,15 +13,11 @@ // Use direct summons if provided, otherwise get from party const summons = $derived(directSummons || party?.summons || []) const main = $derived(summons.find((s: GridSummon) => s?.main || s?.position === -1)) - const friend = $derived( - extendedView ? summons.find((s: GridSummon) => s?.friend || s?.position === -2) : undefined - ) + const friend = $derived(summons.find((s: GridSummon) => s?.friend || s?.position === -2)) - // In standard view: show positions 0-3 (4 summons) - // In extended view: show positions 0-5 (6 summons including subauras) - const gridLength = $derived(extendedView ? 6 : 4) + // Always show positions 0-5 (6 summons including subauras) const grid = $derived( - Array.from({ length: gridLength }, (_, i) => summons.find((s: GridSummon) => s?.position === i)) + Array.from({ length: 6 }, (_, i) => summons.find((s: GridSummon) => s?.position === i)) ) function summonImageUrl(s?: GridSummon, isMain = false): string { @@ -48,16 +44,14 @@ {/each} - {#if extendedView} -
- {#if friend}Friend Summon{/if} -
- {/if} +
+ {#if friend}Friend Summon{/if} +