Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Rex Dri
Rex Dri
Commits
160f8fba
Commit
160f8fba
authored
Aug 23, 2019
by
Florent Chehab
Browse files
Fixed(null error in front)
parent
8bfeda3e
Pipeline
#44491
passed with stages
in 3 minutes and 48 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
160f8fba
...
...
@@ -4,6 +4,7 @@
###### *TBD*
-
[feature] Possible to go back to home on frontend crash
-
[bug fix] Frontend was crashing when
`majors`
was
`null`
## v1.0.0
...
...
frontend/src/components/university/modules/UniversityOffers.js
View file @
160f8fba
...
...
@@ -151,7 +151,7 @@ class UniversityOffers extends CustomComponentForAPI {
doubleDegree: doubleDegree,
comment,
master,
majors: majors.split(","),
majors:
typeof majors === "string" ?
majors.split(",")
: []
,
semester: `${semester}${year}`
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment