Skip to content

Commit

Permalink
Included missed update on workflow hit parsing
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Ohlsen <[email protected]>
  • Loading branch information
ohltyler committed Mar 13, 2024
1 parent 4975ba9 commit 3237efd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion public/pages/workflows/workflow_list/columns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const columns = (actions: any[]) => [
sortable: true,
},
{
field: 'useCase',
field: 'use_case',
name: 'Type',
sortable: true,
},
Expand Down
6 changes: 3 additions & 3 deletions server/routes/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ function toWorkflowObj(workflowHit: any): Workflow {
return {
id: workflowHit._id,
name: hitSource.name,
useCase: hitSource.use_case,
use_case: hitSource.use_case,
description: hitSource.description || '',
// TODO: update below values after frontend Workflow interface is finalized
template: {},
version: hitSource.version,
workflows: hitSource.workflows,
// TODO: this needs to be persisted by backend. Tracking issue:
// https://github.com/opensearch-project/flow-framework/issues/548
lastUpdated: 1234,
Expand Down

0 comments on commit 3237efd

Please sign in to comment.