Scouting: add way to view data before submitting
Allows students to double-check data before submission for any mistakes.
Signed-off-by: Emily Markova <emily.markova@gmail.com>
Change-Id: I454cbf88d23396d12ee03dd4a3002319ef6aea17
diff --git a/scouting/www/entry/entry.component.ts b/scouting/www/entry/entry.component.ts
index edb1cf8..4b60ac1 100644
--- a/scouting/www/entry/entry.component.ts
+++ b/scouting/www/entry/entry.component.ts
@@ -255,6 +255,14 @@
}
}
+ stringifyObjectType(objectType: ObjectType): String {
+ return ObjectType[objectType];
+ }
+
+ stringifyScoreLevel(scoreLevel: ScoreLevel): String {
+ return ScoreLevel[scoreLevel];
+ }
+
changeSectionTo(target: Section) {
// Clear the messages since they won't be relevant in the next section.
this.errorMessage = '';