Trail
{#if hops.length === 0}
Step into a call on the right, or up to a caller on the left — the trail records the
path.
{:else}
{#each hops as hop, i (hop.id)}
{#if i > 0}
{hop.dir === 'up' ? '←' : hop.dir === 'down' ? '→' : '·'}
{/if}
{/each}
{/if}
{#if hops.length > 1}
{/if}
{#if hops.length > 0 && trails.canSave && !naming}
{/if}
{#if hops.length > 0}
{/if}