diff --git a/apps/desktop/cypress/e2e/commitActions.cy.ts b/apps/desktop/cypress/e2e/commitActions.cy.ts index 3ba57803e9..7654879dcc 100644 --- a/apps/desktop/cypress/e2e/commitActions.cy.ts +++ b/apps/desktop/cypress/e2e/commitActions.cy.ts @@ -913,7 +913,8 @@ describe('Commit Actions with no stacks', () => { cy.get('@createBranchSpy').should('be.calledWith', { projectId: PROJECT_ID, branch: { - name: 'my-cool-branch' + name: 'my-cool-branch', + order: 0 } }); diff --git a/apps/desktop/src/components/v3/NewCommitView.svelte b/apps/desktop/src/components/v3/NewCommitView.svelte index c2ead2109b..4d28200bbf 100644 --- a/apps/desktop/src/components/v3/NewCommitView.svelte +++ b/apps/desktop/src/components/v3/NewCommitView.svelte @@ -102,7 +102,7 @@ if (!finalStackId) { const stack = await createNewStack({ projectId, - branch: { name: draftBranchName } + branch: { name: draftBranchName, order: 0 } }); finalStackId = stack.id; projectState.stackId.set(finalStackId);