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

Unified Diff: appengine/swarming/ui/res/imp/botlist/bot-list-shared-behavior.html

Issue 2768553002: Add Device errors to bot-list status (Closed)
Patch Set: 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: appengine/swarming/ui/res/imp/botlist/bot-list-shared-behavior.html
diff --git a/appengine/swarming/ui/res/imp/botlist/bot-list-shared-behavior.html b/appengine/swarming/ui/res/imp/botlist/bot-list-shared-behavior.html
index 5bbc103bd157e3bf1211c151eba9e36b1b42c975..e3fae4a18b23959f21fadc3965097727a9355020 100644
--- a/appengine/swarming/ui/res/imp/botlist/bot-list-shared-behavior.html
+++ b/appengine/swarming/ui/res/imp/botlist/bot-list-shared-behavior.html
@@ -39,7 +39,7 @@
},
_devices: function(bot) {
- return bot.state.devices;
+ return bot.state.devices || [];
},
// _deviceType returns the codename of a given Android device.

Powered by Google App Engine
This is Rietveld 408576698