Skip to content

Commit

Permalink
fix: restore dropped cmdSource reset
Browse files Browse the repository at this point in the history
  • Loading branch information
tkurki committed Feb 8, 2025
1 parent 4119334 commit d7ac8a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/api/course/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ export class CourseApi {
/** Clear destination / route (exposed to plugins) */
async clearDestination(persistState?: boolean): Promise<void> {
this.courseInfo = NO_COURSE_INFO
this.cmdSource = null
this.emitCourseInfo(!persistState)
}

Expand Down

0 comments on commit d7ac8a6

Please sign in to comment.