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() { ...@@ -20,9 +20,7 @@ function MainMap() {
const out = []; const out = [];
const universities = UniversityService.getUniversities(); const universities = UniversityService.getUniversities();
universities.forEach(university => { universities.forEach(univ => {
const univ = UniversityService.getUniversityById(university.id);
if (univ) { if (univ) {
out.push({ out.push({
univName: univ.name, univName: univ.name,
......
Supports Markdown
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