We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e73a22 commit 055e5d0Copy full SHA for 055e5d0
1 file changed
packages/frontend/app/components/learner-group/calendar.gjs
@@ -53,7 +53,7 @@ export default class LearnerGroupCalendarComponent extends Component {
53
async loadEvents(learnerGroup, showSubgroupEvents) {
54
let learnerGroupOfferings = await this.getEventsFromLearnerGroups([learnerGroup], false);
55
if (showSubgroupEvents) {
56
- const subLearnerGroups = await learnerGroup.get('allDescendants');
+ const subLearnerGroups = await learnerGroup.getAllDescendants();
57
const subLearnerGroupOfferings = await this.getEventsFromLearnerGroups(
58
subLearnerGroups,
59
true,
0 commit comments