Skip to content
Snippets Groups Projects
Commit 33b78f3c authored by jvanboxtel@wisc.edu's avatar jvanboxtel@wisc.edu
Browse files

ROENROLL-1763 fix for null studentInfo data

parent 656e5ad7
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ export class ConstantsService implements Resolve<ConstantData> {
public isUndergrad(): boolean {
const info = this.getStudentInfo();
if (info.primaryCareer) {
if (info && info.primaryCareer) {
return info.primaryCareer.careerCode === 'UGRD';
} else {
return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment