File tree 1 file changed +0
-16
lines changed
1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change 5
5
import { spaceBetweenCapitalLetters } from ' $lib/utilities/format-camel-case' ;
6
6
import { formatDate } from ' $lib/utilities/format-date' ;
7
7
import { formatAttributes } from ' $lib/utilities/format-event-attributes' ;
8
- import { isChildWorkflowExecutionStartedEvent } from ' $lib/utilities/is-event-type' ;
9
8
import { isPendingActivity } from ' $lib/utilities/is-pending-activity' ;
10
9
11
- import GraphWidget from ' ../lines-and-dots/svg/graph-widget.svelte' ;
12
-
13
10
import EventDetailsRowExpanded from ' ./event-details-row-expanded.svelte' ;
14
11
import EventLinksExpanded from ' ./event-links-expanded.svelte' ;
15
12
18
15
19
16
$ : pendingEvent = group ?.pendingActivity || group ?.pendingNexusOperation ;
20
17
$ : showEventGroup = group && (group .eventList .length > 1 || pendingEvent );
21
- $ : childWorkflowEvent = group ?.eventList .find (
22
- isChildWorkflowExecutionStartedEvent ,
23
- );
24
18
</script >
25
19
26
20
{#if showEventGroup }
27
21
<div class =" w-full p-2" >
28
22
<div
29
23
class =" flex flex-col gap-0 overflow-hidden rounded-xl border-2 border-subtle xl:flex-row"
30
- class:rounded-b-none ={!! childWorkflowEvent }
31
24
>
32
25
{#each group .eventList as groupEvent }
33
26
{@const attributes = formatAttributes (groupEvent )}
66
59
</div >
67
60
{/if }
68
61
</div >
69
- {#if childWorkflowEvent }
70
- <GraphWidget
71
- namespace ={childWorkflowEvent .attributes .namespace }
72
- workflowId ={childWorkflowEvent .attributes .workflowExecution .workflowId }
73
- runId ={childWorkflowEvent .attributes .workflowExecution .runId }
74
- height ={240 }
75
- class =" overflow-x-hidden"
76
- />
77
- {/if }
78
62
</div >
79
63
{:else if event }
80
64
{@const attributes = formatAttributes (event )}
You can’t perform that action at this time.
0 commit comments