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

Unified Diff: go/src/infra/appengine/sheriff-o-matic/elements/som-extension-build-failure.html

Issue 2203003006: [som] Render alerts that don't have extensions. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: add test Created 4 years, 4 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
« no previous file with comments | « no previous file | go/src/infra/appengine/sheriff-o-matic/test/som-extension-build-failure-test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: go/src/infra/appengine/sheriff-o-matic/elements/som-extension-build-failure.html
diff --git a/go/src/infra/appengine/sheriff-o-matic/elements/som-extension-build-failure.html b/go/src/infra/appengine/sheriff-o-matic/elements/som-extension-build-failure.html
index 910e78dffaa7835537157f26651a33141075339e..c005d5612e61ef471aeec248bf3dc87faaae7a7a 100644
--- a/go/src/infra/appengine/sheriff-o-matic/elements/som-extension-build-failure.html
+++ b/go/src/infra/appengine/sheriff-o-matic/elements/som-extension-build-failure.html
@@ -161,7 +161,7 @@
},
_haveSuspectCLs: function(extension) {
- return !!extension.suspected_cls;
+ return extension && extension.suspected_cls;
},
_linkForTest: function(reason, testName) {
« no previous file with comments | « no previous file | go/src/infra/appengine/sheriff-o-matic/test/som-extension-build-failure-test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698