Skip to content

Commit 0771d0a

Browse files
authored
Merge pull request #9116 from gitbutlerapp/kv-branch-26
Commit to new lane makes a left-hand side lane
2 parents ffae3c2 + c5289cb commit 0771d0a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

apps/desktop/cypress/e2e/commitActions.cy.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,8 @@ describe('Commit Actions with no stacks', () => {
913913
cy.get('@createBranchSpy').should('be.calledWith', {
914914
projectId: PROJECT_ID,
915915
branch: {
916-
name: 'my-cool-branch'
916+
name: 'my-cool-branch',
917+
order: 0
917918
}
918919
});
919920

apps/desktop/src/components/v3/NewCommitView.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
if (!finalStackId) {
103103
const stack = await createNewStack({
104104
projectId,
105-
branch: { name: draftBranchName }
105+
branch: { name: draftBranchName, order: 0 }
106106
});
107107
finalStackId = stack.id;
108108
projectState.stackId.set(finalStackId);

0 commit comments

Comments
 (0)