Skip to content

Commit

Permalink
Added judge's award, fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
itamaroryan committed Jul 8, 2024
1 parent cc199e4 commit 6ab4fd3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/backend/src/lib/schedule/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ const extractSessionsFromJudgingBlock = (
.set('second', 0);

for (let i = 3; i < roomNames.length + 3; i++) {
const room = rooms.find(table => table.name === roomNames[i - 3]);
const room = rooms.find(room => room.name === roomNames[i - 3]);
const session: JudgingSession = {
divisionId: division._id,
number,
Expand All @@ -194,6 +194,7 @@ const extractSessionsFromJudgingBlock = (
}
});

console.log(sessions);
return sessions;
};

Expand Down
4 changes: 4 additions & 0 deletions libs/season/src/lib/localization/judging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,9 @@ export const localizedAward: {
name: 'מצוינות הנדסית',
description:
'פרס זה ניתן לקבוצה אשר מציגה רובוט מתוכנן ביעילות, פתרון לפרויקט החדשנות שנוגע באופן תכליתי באתגר העונה ושערכי הליבה ניכרים בכל מה שהיא עושה.'
},
judgesAward: {
name: 'פרס השופטים',
description: 'פרס זה ניתן לקבוצה אשר יצאה דופן בעיניי השופטים.'
}
};
1 change: 1 addition & 0 deletions libs/types/src/lib/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export const OptionalAwardTypes = [
'impact',
'volunteerOfTheYear',
'excellenceInEngineering',
'judgesAward',
...CoreValuesAwardsTypes
] as const;
export type OptionalAwards = (typeof CoreValuesAwardsTypes)[number];
Expand Down

0 comments on commit 6ab4fd3

Please sign in to comment.