@@ -95,38 +95,41 @@ export const PullRequestsTableHead: FC<PullRequestsTableHeadProps> = ({
9595 </ TableSortLabel >
9696 </ TableCell >
9797
98- { enabledColumnsSet . has ( 'commits' ) && ( < TableCell sx = { { minWidth : '40%' , p : CELL_PAD , py : 1.5 } } >
99- < TableSortLabel
100- direction = { conf . field === 'commits' ? conf . order : 'asc' }
101- active = { conf . field === 'commits' }
102- onClick = { ( ) => updateSortConf ( 'commits' ) }
103- >
104- Commits
105- </ TableSortLabel >
106- </ TableCell >
98+ { enabledColumnsSet . has ( 'commits' ) && (
99+ < TableCell sx = { { minWidth : '40%' , p : CELL_PAD , py : 1.5 } } >
100+ < TableSortLabel
101+ direction = { conf . field === 'commits' ? conf . order : 'asc' }
102+ active = { conf . field === 'commits' }
103+ onClick = { ( ) => updateSortConf ( 'commits' ) }
104+ >
105+ Commits
106+ </ TableSortLabel >
107+ </ TableCell >
107108 ) }
108109
109- { enabledColumnsSet . has ( 'lines_changed' ) && ( < TableCell sx = { { minWidth : '40%' , p : CELL_PAD , py : 1.5 } } >
110- < TableSortLabel
111- direction = { conf . field === 'additions' ? conf . order : 'asc' }
112- active = { conf . field === 'additions' }
113- onClick = { ( ) => updateSortConf ( 'additions' ) }
114- >
115- Lines
116- </ TableSortLabel >
117- </ TableCell >
110+ { enabledColumnsSet . has ( 'lines_changed' ) && (
111+ < TableCell sx = { { minWidth : '40%' , p : CELL_PAD , py : 1.5 } } >
112+ < TableSortLabel
113+ direction = { conf . field === 'additions' ? conf . order : 'asc' }
114+ active = { conf . field === 'additions' }
115+ onClick = { ( ) => updateSortConf ( 'additions' ) }
116+ >
117+ Lines
118+ </ TableSortLabel >
119+ </ TableCell >
118120 ) }
119121
120- { enabledColumnsSet . has ( 'comments' ) && ( < TableCell sx = { { minWidth : '40%' , p : CELL_PAD , py : 1.5 } } >
121- < TableSortLabel
122- direction = { conf . field === 'comments' ? conf . order : 'asc' }
123- active = { conf . field === 'comments' }
124- onClick = { ( ) => updateSortConf ( 'comments' ) }
125- >
126- Comments
127- </ TableSortLabel >
128- </ TableCell >
129- ) }
122+ { enabledColumnsSet . has ( 'comments' ) && (
123+ < TableCell sx = { { minWidth : '40%' , p : CELL_PAD , py : 1.5 } } >
124+ < TableSortLabel
125+ direction = { conf . field === 'comments' ? conf . order : 'asc' }
126+ active = { conf . field === 'comments' }
127+ onClick = { ( ) => updateSortConf ( 'comments' ) }
128+ >
129+ Comments
130+ </ TableSortLabel >
131+ </ TableCell >
132+ ) }
130133
131134 { enabledColumnsSet . has ( 'base_branch' ) && (
132135 < TableCell
0 commit comments