fix(fe): hero 'Start capture (session)' enters the M2 session, not the chooser

The hero button called flow.set('capture') which renders the path-chooser
branch, so it stayed on the chooser and 'Choose photos' never appeared.
Point it at 'captureSession' so the hero action lands directly in the batch
screen. Verified in Chromium: hero button -> batch screen -> sample uploads
show thumbs.
This commit is contained in:
2026-09-25 07:20:02 -07:00
parent 88a2518cfa
commit de2af5c6c7
+1 -1
View File
@@ -244,7 +244,7 @@
<p>Capture • Measure • Review • Publish — real store API, SLAB-UAT-* publishes as draft</p> <p>Capture • Measure • Review • Publish — real store API, SLAB-UAT-* publishes as draft</p>
<div class="actions"> <div class="actions">
<button on:click={startFresh} class="primary">Start new slab</button> <button on:click={startFresh} class="primary">Start new slab</button>
<button on:click={() => flow.set('capture')}>Start capture (session)</button> <button on:click={() => flow.set('captureSession')}>Start capture (session)</button>
{#if $slab} {#if $slab}
<button on:click={resume}>Resume draft</button> <button on:click={resume}>Resume draft</button>
{/if} {/if}