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

Unified Diff: dashboard/dashboard/elements/bug-info-span.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/elements/bug-info-span.html
diff --git a/dashboard/dashboard/elements/bug-info-span.html b/dashboard/dashboard/elements/bug-info-span.html
index 28775c4fe7265b8a60756c63af3108c029886b4e..e71476954f61dd1f53111a8c118b4e28abb9ca9e 100644
--- a/dashboard/dashboard/elements/bug-info-span.html
+++ b/dashboard/dashboard/elements/bug-info-span.html
@@ -47,12 +47,9 @@ TODO(qyearsley): Expand this element and use it in chart-tooltip.
computeIsPositive: n => n > 0,
statusString: function() {
- if (this.bugId == -1)
- return 'Invalid';
- if (this.bugId == -2)
- return 'Ignored';
- if (this.recovered)
- return 'Recovered';
+ if (this.bugId == -1) return 'Invalid';
+ if (this.bugId == -2) return 'Ignored';
+ if (this.recovered) return 'Recovered';
return '';
}
});

Powered by Google App Engine
This is Rietveld 408576698