Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
load commits on next stage
  • Loading branch information
ShMcK committed Jul 23, 2019
commit e1219cc7689d1b719eed68fa541a2b9707e4cbca
4 changes: 3 additions & 1 deletion src/state/machine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,12 @@ export const machine = (dispatch: CR.EditorDispatch) =>
after: {
0: [{
target: 'Stage',
internal: true,
cond: 'hasNextStep',
},
{
target: 'Stage',
internal: false,
cond: 'hasNextStage',
},
{
Expand All @@ -101,7 +103,7 @@ export const machine = (dispatch: CR.EditorDispatch) =>
},
},
Stage: {
onEntry: ['loadStage'],
onEntry: ['loadStage', 'stepLoadCommits'],
initial: 'Normal',
states: {
Normal: {
Expand Down