Skip to content

fix relaunch issue #344 #349

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 21, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix relaunch issue #344
Signed-off-by: shmck <[email protected]>
  • Loading branch information
ShMcK committed May 21, 2020
commit 109b5a017c1cc6e56c31cf0d42d3ae48a5aa037e
2 changes: 1 addition & 1 deletion src/channel/state/Progress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Progress {
this.set(defaultValue)
}
public syncProgress = (progress: T.Progress): T.Progress => {
const next = { ...this.value, ...progress }
const next = { ...this.value, ...progress, complete: this.value.complete }
return this.set(next)
}
public setStepComplete = (tutorial: TT.Tutorial, stepId: string): T.Progress => {
Expand Down