update
This commit is contained in:
parent
109e12e085
commit
1c4ed3e87d
@ -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];
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user