Skip to content

Commit 0456edf

Browse files
author
I'm a Github Action
committed
beep boop Github Action Master Branch CI Prettier hard at work
1 parent bea6fe2 commit 0456edf

File tree

2 files changed

+45
-16
lines changed

2 files changed

+45
-16
lines changed

src/web/src/components/DepartmentList.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
params: { subject: major },
1616
}"
1717
>
18-
<b>{{ major }}</b> - {{ getLongName(major) }}
18+
<b>{{ major }}</b>
19+
- {{ getLongName(major) }}
1920
</b-button>
2021
</div>
2122
</template>

src/web/src/utils.js

Lines changed: 43 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -383,21 +383,49 @@ export const exportScheduleToImage = (
383383

384384
export const getLongName = (department) => {
385385
var dict = {
386-
"ARTS": "Arts", "COGS": "Cognitive Science", "STSH": "Science and Technology Studies - Humanities",
387-
"STSS": "Science and Technology Studies - Social Sciences", "COMM": "Communication", "ECON": "Economics",
388-
"GSAS": "Games and Simulations Arts and Sciences", "IHSS": "Interdisciplinary H&SS", "LANG": "Languages",
389-
"LITR": "Literature", "PHIL": "Philosophy", "PSYC": "Psychology", "WRIT": "Writing", "BMED": "Biomedical Engineering",
390-
"CHME": "Chemical Engineering", "ECSE": "Electrical and Computer Systems Engineering",
391-
"ENVE": "Environmental and Energy Engineering", "MANE": "Mechanical, Aerospace, and Nuclear Engineering",
392-
"MTLE": "Materials Science and Engineering", "CIVL": "Civil Engineering", "ENGR": "Core Engineering",
393-
"ISYE": "Industrial and Systems Engineering", "EPOW": "Electrical Power Engineering",
394-
"BCBP": "Biochemistry and Biophysics", "CSCI": "Computer Science", "ERTH": "Earth and Environmental Science",
395-
"IENV": "Interdisciplinary Environmental", "ISCI": "Interdisciplinary Science",
396-
"MATP": "Math Programming, Probability, and Statistics", "PHYS": "Physics", "ASTR": "Astronomy", "BIOL": "Biology",
397-
"CHEM": "Chemistry", "MATH": "Mathematics", "ITWS": "Information Technology and Web Science", "ARCH": "Architecture",
398-
"LGHT": "Lighting", "MGMT": "Management", "ADMN": "Adminstrative Courses", "USAF": "Aerospace Studies (Air Force ROTC)",
399-
"USNA": "Naval Science (Navy ROTC)", "USAR": "Military Science (ARMY ROTC)"
386+
ARTS: "Arts",
387+
COGS: "Cognitive Science",
388+
STSH: "Science and Technology Studies - Humanities",
389+
STSS: "Science and Technology Studies - Social Sciences",
390+
COMM: "Communication",
391+
ECON: "Economics",
392+
GSAS: "Games and Simulations Arts and Sciences",
393+
IHSS: "Interdisciplinary H&SS",
394+
LANG: "Languages",
395+
LITR: "Literature",
396+
PHIL: "Philosophy",
397+
PSYC: "Psychology",
398+
WRIT: "Writing",
399+
BMED: "Biomedical Engineering",
400+
CHME: "Chemical Engineering",
401+
ECSE: "Electrical and Computer Systems Engineering",
402+
ENVE: "Environmental and Energy Engineering",
403+
MANE: "Mechanical, Aerospace, and Nuclear Engineering",
404+
MTLE: "Materials Science and Engineering",
405+
CIVL: "Civil Engineering",
406+
ENGR: "Core Engineering",
407+
ISYE: "Industrial and Systems Engineering",
408+
EPOW: "Electrical Power Engineering",
409+
BCBP: "Biochemistry and Biophysics",
410+
CSCI: "Computer Science",
411+
ERTH: "Earth and Environmental Science",
412+
IENV: "Interdisciplinary Environmental",
413+
ISCI: "Interdisciplinary Science",
414+
MATP: "Math Programming, Probability, and Statistics",
415+
PHYS: "Physics",
416+
ASTR: "Astronomy",
417+
BIOL: "Biology",
418+
CHEM: "Chemistry",
419+
MATH: "Mathematics",
420+
ITWS: "Information Technology and Web Science",
421+
ARCH: "Architecture",
422+
LGHT: "Lighting",
423+
MGMT: "Management",
424+
ADMN: "Adminstrative Courses",
425+
USAF: "Aerospace Studies (Air Force ROTC)",
426+
USNA: "Naval Science (Navy ROTC)",
427+
USAR: "Military Science (ARMY ROTC)",
400428
};
401429

402430
return dict[department];
403-
};
431+
};

0 commit comments

Comments
 (0)