diff --git a/frontend/src/routes/run/[...run].svelte b/frontend/src/routes/run/[...run].svelte
index a6eb733245..27a20845ec 100644
--- a/frontend/src/routes/run/[...run].svelte
+++ b/frontend/src/routes/run/[...run].svelte
@@ -359,14 +359,6 @@
{/if}
- {#if job && job.schedule_path}
-
-
Triggered by the schedule: {job.schedule_path}
- {/if}
{#if job && job.parent_job}
{#if job.is_flow_step}
{job.parent_job}
{/if}
+ {:else if job && job.schedule_path}
+
+
Triggered by the schedule: {job.schedule_path}
{:else}
{/if}
- {#if job && job.schedule_path}
-
-
Triggered by the schedule: {job.schedule_path}
- {/if}
{#if job && job.parent_job}
{#if job.is_flow_step}
{/if}
+ {:else if job && job.schedule_path}
+
+
Triggered by the schedule: {job.schedule_path}
{:else}