Scouting: Fix sketchy pickup bug
Note scouts were seeing a solid pickup label but the app was submitting
sketchy pickups instead. Strategy team wants to measure solid pickups, this change
fixes the bug so that the solid pickup keyword is actually submitted.
Signed-off-by: Filip Kujawa <filip.j.kujawa@gmail.com>
Change-Id: I7578b4ddb64f176409b0e666e44675239eb25475
diff --git a/scouting/www/notes/notes.component.ts b/scouting/www/notes/notes.component.ts
index 94a1586..5d1e8f2 100644
--- a/scouting/www/notes/notes.component.ts
+++ b/scouting/www/notes/notes.component.ts
@@ -40,7 +40,7 @@
interface Keywords {
goodDriving: boolean;
badDriving: boolean;
- sketchyPickup: boolean;
+ solidPickup: boolean;
sketchyPlacing: boolean;
goodDefense: boolean;
badDefense: boolean;
@@ -56,7 +56,7 @@
const KEYWORD_CHECKBOX_LABELS = {
goodDriving: 'Good Driving',
badDriving: 'Bad Driving',
- sketchyPickup: 'Solid Pickup',
+ solidPickup: 'Solid Pickup',
sketchyPlacing: 'Sketchy Placing',
goodDefense: 'Good Defense',
badDefense: 'Bad Defense',
@@ -115,7 +115,7 @@
keywordsData: {
goodDriving: false,
badDriving: false,
- sketchyPickup: false,
+ solidPickup: false,
sketchyPlacing: false,
goodDefense: false,
badDefense: false,
@@ -152,7 +152,7 @@
dataFb,
this.newData[i].keywordsData.goodDriving,
this.newData[i].keywordsData.badDriving,
- this.newData[i].keywordsData.sketchyPickup,
+ this.newData[i].keywordsData.solidPickup,
this.newData[i].keywordsData.sketchyPlacing,
this.newData[i].keywordsData.goodDefense,
this.newData[i].keywordsData.badDefense,