|
28 | 28 | <HorizontalCollapsible @ref="instancesListPanel" class="collapsible-instances">
|
29 | 29 | <Label>Instances</Label>
|
30 | 30 | <Content>
|
31 |
| - <WorkflowInstancesList |
32 |
| - class="h-100" |
33 |
| - Loading="@Loading" |
34 |
| - Operators="operators" |
35 |
| - OperatorName="@operatorName" |
36 |
| - WorkflowInstances="@Resources" |
37 |
| - SelectedInstanceNames="@SelectedResourceNames" |
38 |
| - ActiveRow="@instanceName" |
39 |
| - Columns="@columns" |
40 |
| - OnSearchInput="Store.SetSearchTerm" |
41 |
| - OnShowDetails="OnShowInstanceDetails" |
42 |
| - OnOperatorChanged="Store.SetOperator" |
43 |
| - OnSuspend="async (instance) => await Store.SuspendInstanceAsync(instance)" |
44 |
| - OnResume="async (instance) => await Store.ResumeInstanceAsync(instance)" |
45 |
| - OnCancel="async (instance) => await Store.CancelInstanceAsync(instance)" |
46 |
| - OnReplay="async (instance) => await Store.OnShowCreateInstanceAsync( |
47 |
| - workflowDefinition, operators ?? [], |
48 |
| - instance.Spec?.Input, |
49 |
| - instance.Metadata.Labels, |
50 |
| - instance.Metadata.Annotations |
51 |
| - )" |
52 |
| - OnDelete="OnDeleteWorkflowInstanceAsync" |
53 |
| - OnToggleSelected="Store.ToggleResourceSelection" |
54 |
| - OnSuspendSelected="async () => await Store.OnSuspendSelectedInstancesAsync()" |
55 |
| - OnResumeSelected="async () => await Store.OnResumeSelectedInstancesAsync()" |
56 |
| - OnCancelSelected="async () => await Store.OnCancelSelectedInstancesAsync()" |
57 |
| - OnDeleteSelected="OnDeleteSelectedResourcesAsync" |
58 |
| - /> |
| 31 | + <div class="h-100 d-flex flex-column"> |
| 32 | + <WorkflowInstancesList |
| 33 | + class="h-100" |
| 34 | + Loading="@Loading" |
| 35 | + Operators="operators" |
| 36 | + OperatorName="@operatorName" |
| 37 | + WorkflowInstances="@Resources" |
| 38 | + SelectedInstanceNames="@SelectedResourceNames" |
| 39 | + ActiveRow="@instanceName" |
| 40 | + Columns="@columns" |
| 41 | + OnSearchInput="Store.SetSearchTerm" |
| 42 | + OnShowDetails="OnShowInstanceDetails" |
| 43 | + OnOperatorChanged="Store.SetOperator" |
| 44 | + OnSuspend="async (instance) => await Store.SuspendInstanceAsync(instance)" |
| 45 | + OnResume="async (instance) => await Store.ResumeInstanceAsync(instance)" |
| 46 | + OnCancel="async (instance) => await Store.CancelInstanceAsync(instance)" |
| 47 | + OnReplay="async (instance) => await Store.OnShowCreateInstanceAsync( |
| 48 | + workflowDefinition, operators ?? [], |
| 49 | + instance.Spec?.Input, |
| 50 | + instance.Metadata.Labels, |
| 51 | + instance.Metadata.Annotations |
| 52 | + )" |
| 53 | + OnDelete="OnDeleteWorkflowInstanceAsync" |
| 54 | + OnToggleSelected="Store.ToggleResourceSelection" |
| 55 | + OnSuspendSelected="async () => await Store.OnSuspendSelectedInstancesAsync()" |
| 56 | + OnResumeSelected="async () => await Store.OnResumeSelectedInstancesAsync()" |
| 57 | + OnCancelSelected="async () => await Store.OnCancelSelectedInstancesAsync()" |
| 58 | + OnDeleteSelected="OnDeleteSelectedResourcesAsync" |
| 59 | + /> |
| 60 | + </div> |
59 | 61 | <Button Outline="true" Color="ButtonColor.Primary" @onclick="async _ => await Store.OnShowCreateInstanceAsync(workflowDefinition, operators ?? [])" class="w-100 mt-3">
|
60 | 62 | <Icon Name="IconName.Plus"/>
|
61 | 63 | </Button>
|
|
0 commit comments