8000 load commits on next stage · coderoad/coderoad-vscode@e1219cc · GitHub
[go: up one dir, main page]

Skip to content
< 8000 script crossorigin="anonymous" type="application/javascript" src="https://github.githubassets.com/assets/vendors-node_modules_github_remote-form_dist_index_js-node_modules_delegated-events_dist_inde-94fd67-b0625c39513c.js" defer="defer">

Commit e1219cc

Browse files
committed
load commits on next stage
1 parent 04af798 commit e1219cc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/state/machine.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,12 @@ export const machine = (dispatch: CR.EditorDispatch) =>
7171
after: {
7272
0: [{
7373
target: 'Stage',
74+
internal: true,
7475
cond: 'hasNextStep',
7576
},
7677
{
7778
target: 'Stage',
79+
internal: false,
7880
cond: 'hasNextStage',
7981
},
8082
{
@@ -101,7 +103,7 @@ export const machine = (dispatch: CR.EditorDispatch) =>
101103
},
102104
},
103105
Stage: {
104-
onEntry: ['loadStage'],
106+
onEntry: ['loadStage', 'stepLoadCommits'],
105107
initial: 'Normal',
106108
states: {
107109
Normal: {

0 commit comments

Comments
 (0)
0