[develop | DONE | FIXED]: parsingFunctions.class.ts: In "parseEoscSubjects()" method, initialize subjects if needed.

This commit is contained in:
Konstantina Galouni 2024-05-20 15:17:26 +03:00
parent 1f4c0566c7
commit 019530c222
1 changed files with 3 additions and 0 deletions

View File

@ -665,6 +665,9 @@ export class ParsingFunctions {
}
if(properties.environment != "production" && classifiedSubjects != null) {
if (subjects == undefined) {
subjects = new Array<string>();
}
for (let classified of classifiedSubjects.keys()) {
subjects = subjects.concat(classifiedSubjects.get(classified));
}