Index: dashboard/dashboard/pinpoint/elements/jobs-table.html |
diff --git a/dashboard/dashboard/pinpoint/elements/jobs-table.html b/dashboard/dashboard/pinpoint/elements/jobs-table.html |
index 92af712344cea307be2ca7076a287cdd50e2b8b4..8557e83e3da0d7e942a2530b221a216b28949b12 100644 |
--- a/dashboard/dashboard/pinpoint/elements/jobs-table.html |
+++ b/dashboard/dashboard/pinpoint/elements/jobs-table.html |
@@ -252,8 +252,9 @@ found in the LICENSE file. |
var valB = String(b[sortBy]).toLowerCase(); |
return valA.localeCompare(valB); |
}); |
- if (this.sortDescending) |
+ if (this.sortDescending) { |
jobs.reverse(); |
+ } |
this.set('jobsList', jobs); |
this.updateHeaders(); |