{#if ledger.error}
Firefly III did not return the transactions: {ledger.error.message}
{/if}
{#snippet tools()} {#if pcOk}
flag("merged", !merged)} title="Switch c" type="button" > {merged ? "One lane per currency" : "All in one currency"}
{/if} {/snippet}
openMonth(month, segment)} partial={board?.partial} pinned={view === "month"} title={(row) => longMonth(row.key)} bind:hover />
{#each [ { key: "grew", label: "What grew" }, { key: "month", label: longMonth(cursor) }, ] as item (item.key)}
navigate({ tab: item.key === "month" ? "month" : null })} role="tab" type="button" > {item.label}
{/each}
drillFor(cursor, "grew", extra)} partial={cursor === board?.partial} rows={grewRows} />
drillFor(cursor, "month", extra)} partial={cursor === board?.partial} swaps={swaps.filter((swap) => monthOf(swap.date) === cursor)} totals={view === "year"} />
{#if view === "month"}
{:else if board}
{/if} {#if tables}
{/if}
flag("tables", !tables)} title="Tables by month m" type="button" > {tables ? "Hide tables by month" : "Tables by month"}
{#each yearLinks as link (link.href)}
{link.label}
{/each}