Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 802db3e commit 63103b6Copy full SHA for 63103b6
src/channel/index.ts
@@ -75,13 +75,13 @@ class Channel implements Channel {
75
// continue from tutorial from local storage
76
const tutorial: TT.Tutorial | null = this.context.tutorial.get()
77
78
- // new tutorial
79
- if (!tutorial || !tutorial.id) {
+ if (!tutorial || !tutorial.config) {
+ // new tutorial
80
this.send({ type: 'START_NEW_TUTORIAL', payload: { env } })
81
return
82
}
83
84
- // set tutorial
+ // set tutorials
85
const { position, progress } = await this.context.setTutorial(this.workspaceState, tutorial)
86
87
if (progress.complete) {
0 commit comments