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

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

Issue 2089493002: SOM: Fix key bug (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 4 years, 6 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 | no next file » | 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-app.html
diff --git a/go/src/infra/appengine/sheriff-o-matic/elements/som-app.html b/go/src/infra/appengine/sheriff-o-matic/elements/som-app.html
index cc0dbb39ccbefa106e0baf2d738860af737ef73e..198dc44b99c1dc6bbb431e13a156a772401edfa2 100644
--- a/go/src/infra/appengine/sheriff-o-matic/elements/som-app.html
+++ b/go/src/infra/appengine/sheriff-o-matic/elements/som-app.html
@@ -488,7 +488,9 @@
},
_keyForAlert: function(alert) {
- if (alert.extension && alert.extension.reasons &&
+ if (alert.key) {
+ return alert.key;
+ } else if (alert.extension && alert.extension.reasons &&
seanmccullough1 2016/06/20 23:28:02 ok I see. Is it okay to just use alert.key instead
alert.extension.builders) {
return alert.extension.reasons.map(function(reason) {
return reason.step;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698