Scouting: Add spotlight to entry
Signed-off-by: Emily Markova <emily.markova@gmail.com>
Change-Id: I4ed7673423b1a49c349feae009eee0b1d47b0382
diff --git a/scouting/www/entry/entry.component.ts b/scouting/www/entry/entry.component.ts
index b3e1e92..122c415 100644
--- a/scouting/www/entry/entry.component.ts
+++ b/scouting/www/entry/entry.component.ts
@@ -86,6 +86,7 @@
type: 'endMatchAction';
stageType: StageType;
trapNote: boolean;
+ spotlight: boolean;
timestamp?: number;
}
| {
@@ -112,6 +113,7 @@
readonly COMP_LEVELS = COMP_LEVELS;
readonly COMP_LEVEL_LABELS = COMP_LEVEL_LABELS;
readonly ScoreType = ScoreType;
+ readonly StageType = StageType;
section: Section = 'Team Selection';
@Input() matchNumber: number = 1;
@@ -374,7 +376,8 @@
const endMatchActionOffset = EndMatchAction.createEndMatchAction(
builder,
action.stageType,
- action.trapNote
+ action.trapNote,
+ action.spotlight
);
actionOffset = Action.createAction(
builder,