Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2841)

Unified Diff: dashboard/dashboard/pinpoint/elements/jobs-table.html

Issue 2776653002: [ESLint] Fix violations when enabling curly rule in eslint. (Closed)
Patch Set: Fix test Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698