{#if traces.length === 0}

No activity traces

{:else}
{#each traces as trace (trace.id)}
{#if expandedId === trace.id}
{JSON.stringify(trace.details, null, 2)}
{#if trace.error}

Error: {trace.error}

{/if}
{/if}
{/each}
{/if}