Skip to content

Commit

Permalink
fix custom sorting fns in pr dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
ibzib committed Nov 5, 2018
1 parent ccbccc9 commit 34a5994
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gubernator/static/pr.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function sortRows(rows, col, colName, dir) {
// customize sorting functions for different columns
let extract = el => el.innerText.replace(/^\s+|\s+$/g, '');
let fn = x => x;
switch (colName) {
switch (colName.trim()) {
case 'Number':
fn = Number;
break;
Expand Down

0 comments on commit 34a5994

Please sign in to comment.