update
This commit is contained in:
@@ -30,7 +30,9 @@ async function populateResources() {
|
||||
|
||||
Object.values(SUBJECTS).forEach((subject) => {
|
||||
Object.values(subject.topics).forEach((topic) => {
|
||||
topic.resources = topicResources[topic.id];
|
||||
if (topic.id in topicResources) {
|
||||
topic.resources = topicResources[topic.id];
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user