Scouting: Add robot dead action
If the robot "dies" on the field we should know that.
Signed-off-by: Filip Kujawa <filip.j.kujawa@gmail.com>
Change-Id: I1d8569c9fdb70f4e7dd811290738cd65a24c6458
diff --git a/scouting/www/entry/entry.component.ts b/scouting/www/entry/entry.component.ts
index 6ecc95d..44fc958 100644
--- a/scouting/www/entry/entry.component.ts
+++ b/scouting/www/entry/entry.component.ts
@@ -157,6 +157,12 @@
case 'endMatchAction':
this.section = 'Pickup';
break;
+ case 'robotDeathAction':
+ // TODO(FILIP): Return user to the screen they
+ // clicked dead robot on. Pickup is fine for now but
+ // might cause confusion.
+ this.section = 'Pickup';
+ break;
default:
break;
}