1
0
Fork 0
mirror of synced 2024-09-11 06:56:23 +12:00

Afterthought

Remembered that idx === 0 is the same as isTrigger
This commit is contained in:
FlaminWrap 2022-11-05 00:20:38 +00:00
parent 41a9bf8e82
commit fe135fc6d7

View file

@ -72,14 +72,11 @@
</svg>
{/if}
<div class="iconAlign">
{#if idx === 0}
<Body size="XS"><b>Trigger</b></Body>
{:else}
<Body size="XS"><b>Step {idx}</b></Body>
{/if}
{#if isTrigger}
<Body size="XS"><b>Trigger</b></Body>
<Body size="XS">When this happens:</Body>
{:else}
<Body size="XS"><b>Step {idx}</b></Body>
<Body size="XS">Do this:</Body>
{/if}
<Detail size="S">{block?.name?.toUpperCase() || ""}</Detail>