Skip to content

Commit 789110d

Browse files
committed
fix: Upper case course
1 parent 0c94d33 commit 789110d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/shortenCourse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function shortenCourse(subject: string): string {
55
.split(" ")
66
.forEach((word) => {
77
if (word) {
8-
shortenedName = shortenedName.concat(word[0]);
8+
shortenedName = shortenedName.concat(word[0].toUpperCase());
99
}
1010
});
1111
return shortenedName;

0 commit comments

Comments
 (0)