Skip to content

Commit

Permalink
fix: Workflow list page crashes for workflow rows without labels (#11195
Browse files Browse the repository at this point in the history
)

Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
  • Loading branch information
terrytangyuan authored and tczhao committed Jul 12, 2023
1 parent c6bf36c commit f595a5f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export class WorkflowsRow extends React.Component<WorkflowsRowProps, WorkflowRow
</div>
</div>
{(this.props.columns || []).map(column => {
const value = wf.metadata.labels[column.key];
const value = wf.metadata?.labels[column.key];
return (
<div key={column.name} className='columns small-1'>
{value}
Expand Down

0 comments on commit f595a5f

Please sign in to comment.