Disable sort by Runtime and only ascending by Ran
@@ -160,14 +160,18 @@ class RunFeedHeader extends React.Component {
}
style={{textAlign: 'center', verticalAlign: 'bottom'}}
onClick={() => {
- if (columnName === 'Config' || columnName === 'Summary') {
+ if (columnName === 'Runtime') {
return;
}
+ if (columnName === 'Ran') {
+ this.props.setSort(null, true);
+ } else {
let ascending = true;
if (sort.name === columnName) {
ascending = !sort.ascending;
}
this.props.setSort(columnName, ascending);
+ }
}}>
<div>
{_.startsWith(columnName, 'config:') ||
