Unverified Commit 919427fe authored by Florent Chehab's avatar Florent Chehab
Browse files

chore(front): simplifed use of university

parent 037b78a5
......@@ -20,9 +20,7 @@ function MainMap() {
const out = [];
const universities = UniversityService.getUniversities();
universities.forEach(university => {
const univ = UniversityService.getUniversityById(university.id);
universities.forEach(univ => {
if (univ) {
out.push({
univName: univ.name,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment