Skip to content

Commit

Permalink
feat(protocol-designer): make multichannel substeps collapsed by default
Browse files Browse the repository at this point in the history
Closes #2678
  • Loading branch information
IanLondon committed Nov 27, 2018
1 parent 7ca4c36 commit 9851c17
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ export default class MultiChannelSubstep extends React.Component<MultiChannelSub
<span className={styles.volume_cell}>{`${formatVolume(rowGroup[0].volume)} μL`}</span>
<span className={styles.emphasized_cell}>{firstChannelDest ? destWellRange : ''}</span>
<span className={styles.inner_carat} onClick={this.handleToggleCollapsed}>
<Icon name={collapsed ? 'chevron-down' : 'chevron-up'} />
<Icon name={collapsed ? 'chevron-up' : 'chevron-down'} />
</span>
</PDListItem>

{collapsed && rowGroup.map((row, rowKey) => {
{!collapsed && rowGroup.map((row, rowKey) => {
// Channel rows (1 for each channel in multi-channel pipette
return (
<SubstepRow
Expand Down

0 comments on commit 9851c17

Please sign in to comment.