Skip to content

Commit

Permalink
fix(Authoring): Move two lessons into unused section now works (#1605)
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffreykwan authored Jan 31, 2024
1 parent 0fa5cb3 commit be66a55
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/assets/wise5/services/teacherProjectService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -721,10 +721,10 @@ export class TeacherProjectService extends ProjectService {
this.insertNodeAfterInactiveNode(node, nodeIdToInsertAfter);
}
if (node.type === 'group') {
this.inactiveGroupNodes.push(node.id);
this.inactiveGroupNodes.push(node);
this.addGroupChildNodesToInactive(node);
} else {
this.inactiveStepNodes.push(node.id);
this.inactiveStepNodes.push(node);
}
}

Expand Down Expand Up @@ -803,10 +803,10 @@ export class TeacherProjectService extends ProjectService {
this.insertNodeInsideInactiveNode(node, nodeIdToInsertInside);
}
if (node.type === 'group') {
this.inactiveGroupNodes.push(node.id);
this.inactiveGroupNodes.push(node);
this.addGroupChildNodesToInactive(node);
} else {
this.inactiveStepNodes.push(node.id);
this.inactiveStepNodes.push(node);
}
}

Expand Down

0 comments on commit be66a55

Please sign in to comment.