[develop | WIP | FIXED]: parsingFunctions.class.ts: Added check if there are no classifiedSubjects.

This commit is contained in:
Konstantina Galouni 2024-04-24 16:35:13 +03:00
parent c5bd710621
commit ac46ecb997
1 changed files with 1 additions and 1 deletions

View File

@ -664,7 +664,7 @@ export class ParsingFunctions {
} }
} }
if(properties.environment != "production") { if(properties.environment != "production" && classifiedSubjects != null) {
for (let classified of classifiedSubjects.keys()) { for (let classified of classifiedSubjects.keys()) {
subjects = subjects.concat(classifiedSubjects.get(classified)); subjects = subjects.concat(classifiedSubjects.get(classified));
} }