File tree 2 files changed +4
-4
lines changed
public/pages/workflows/workflow_list
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export const columns = (actions: any[]) => [
22
22
sortable : true ,
23
23
} ,
24
24
{
25
- field : 'useCase ' ,
25
+ field : 'use_case ' ,
26
26
name : 'Type' ,
27
27
sortable : true ,
28
28
} ,
Original file line number Diff line number Diff line change @@ -26,10 +26,10 @@ function toWorkflowObj(workflowHit: any): Workflow {
26
26
return {
27
27
id : workflowHit . _id ,
28
28
name : hitSource . name ,
29
- useCase : hitSource . use_case ,
29
+ use_case : hitSource . use_case ,
30
30
description : hitSource . description || '' ,
31
- // TODO: update below values after frontend Workflow interface is finalized
32
- template : { } ,
31
+ version : hitSource . version ,
32
+ workflows : hitSource . workflows ,
33
33
// TODO: this needs to be persisted by backend. Tracking issue:
34
34
// https://github.com/opensearch-project/flow-framework/issues/548
35
35
lastUpdated : 1234 ,
You can’t perform that action at this time.
0 commit comments