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 Jun 20, 2023
1 parent 256ff72 commit ac9161c
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 ac9161c

Please sign in to comment.