Skip to content

Commit

Permalink
fix(Authoring Tool): Copying a step to inside an unused lesson now wo…
Browse files Browse the repository at this point in the history
…rks (#1610)
  • Loading branch information
geoffreykwan authored Feb 2, 2024
1 parent b3de483 commit b255242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/assets/wise5/services/teacherProjectService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,8 @@ export class TeacherProjectService extends ProjectService {
*/
createNodeAfter(newNode, nodeId) {
if (this.isInactive(nodeId)) {
this.addInactiveNodeInsertAfter(newNode, nodeId);
this.setIdToNode(newNode.id, newNode);
this.addInactiveNodeInsertAfter(newNode, nodeId);
} else {
this.addNode(newNode);
this.setIdToNode(newNode.id, newNode);
Expand Down

0 comments on commit b255242

Please sign in to comment.