[develop | DONE | FIXED]: parsingFunctions.class.ts: In "parseEoscSubjects()" method, initialize subjects if needed.
This commit is contained in:
parent
1f4c0566c7
commit
019530c222
|
@ -665,6 +665,9 @@ export class ParsingFunctions {
|
||||||
}
|
}
|
||||||
|
|
||||||
if(properties.environment != "production" && classifiedSubjects != null) {
|
if(properties.environment != "production" && classifiedSubjects != null) {
|
||||||
|
if (subjects == undefined) {
|
||||||
|
subjects = new Array<string>();
|
||||||
|
}
|
||||||
for (let classified of classifiedSubjects.keys()) {
|
for (let classified of classifiedSubjects.keys()) {
|
||||||
subjects = subjects.concat(classifiedSubjects.get(classified));
|
subjects = subjects.concat(classifiedSubjects.get(classified));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue