Skip to content

Commit

Permalink
Quick fix for missing workers array. (#535)
Browse files Browse the repository at this point in the history
self merging
  • Loading branch information
Oliver Ponder committed Mar 26, 2019
1 parent cf14be2 commit 557f778
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/cluster/detail/cluster_detail_table.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,9 @@ class ClusterDetailTable extends React.Component {
<tr>
<td>EC2 instance type</td>
<td className='value code'>
{this.props.cluster.workers[0].aws.instance_type}
{this.props.cluster.workers
? this.props.cluster.workers[0].aws.instance_type
: null}
</td>
</tr>
);
Expand All @@ -137,7 +139,9 @@ class ClusterDetailTable extends React.Component {
<tr>
<td>VM size</td>
<td className='value code'>
{this.props.cluster.workers[0].azure.vm_size}
{this.props.cluster.workers
? this.props.cluster.workers[0].azure.vm_size
: null}
</td>
</tr>
);
Expand Down

0 comments on commit 557f778

Please sign in to comment.