Skip to content

Commit

Permalink
Alphabetize mode values
Browse files Browse the repository at this point in the history
  • Loading branch information
hirokiterashima committed Oct 4, 2023
1 parent e172bc5 commit 13e8114
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/assets/wise5/services/nodeService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class NodeService {
let nextNodeId = null;
const currentNodeId = currentId ?? this.DataService.getCurrentNodeId();
if (currentNodeId) {
if (['classroomMonitor', 'author'].includes(this.ConfigService.getMode())) {
if (['author', 'classroomMonitor'].includes(this.ConfigService.getMode())) {
const currentNodeOrder = this.ProjectService.getNodeOrderById(currentNodeId);
if (currentNodeOrder) {
const nextId = this.ProjectService.getNodeIdByOrder(currentNodeOrder + 1);
Expand Down

0 comments on commit 13e8114

Please sign in to comment.