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

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: Remove extra if 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
« no previous file with comments | « appengine/swarming/ui/res/imp/botlist/bot-list.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « appengine/swarming/ui/res/imp/botlist/bot-list.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698