job can be triggered by a schedule and from a flow

This commit is contained in:
Ruben Fiszel
2022-07-30 01:14:41 +02:00
parent ee08b2b352
commit 9afc38e610
2 changed files with 12 additions and 3 deletions

View File

@@ -366,7 +366,8 @@
>{job.schedule_path}</a
></span
>
{:else if job && job.parent_job}
{/if}
{#if job && job.parent_job}
{#if job.is_flow_step}
<Icon class="text-gray-700" data={faWind} scale={SMALL_ICON_SCALE} /><span
class="mx-2"

View File

@@ -9,7 +9,14 @@
<script lang="ts">
import { onDestroy } from 'svelte'
import { JobService, Job, CompletedJob } from '$lib/gen'
import { displayDate, displayDaysAgo, forLater, setQuery, truncateHash, msToSec } from '$lib/utils'
import {
displayDate,
displayDaysAgo,
forLater,
setQuery,
truncateHash,
msToSec
} from '$lib/utils'
import Icon from 'svelte-awesome'
import { check } from 'svelte-awesome/icons'
import {
@@ -322,7 +329,8 @@ the bearer token they use has less privilege."
href={`/schedule/add?edit=${job.schedule_path}`}>{job.schedule_path}</a
></span
>
{:else if job && job.parent_job}
{/if}
{#if job && job.parent_job}
{#if job.is_flow_step}
<Icon class="text-gray-700" data={faWind} scale={SMALL_ICON_SCALE} /><span
class="mx-2"