mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-26 19:15:25 +03:00
Persist commit message a bit longer
- the big problem is we were binding it to an empty variable
This commit is contained in:
parent
e4df830014
commit
49df76fd0e
@ -70,7 +70,7 @@
|
||||
}
|
||||
}}
|
||||
>
|
||||
{#each branches.filter((c) => c.active) as { id, name, files, commits, description, order, conflicted, upstream } (id)}
|
||||
{#each branches.filter((c) => c.active) as { id, name, files, commits, order, conflicted, upstream } (id)}
|
||||
<Lane
|
||||
on:dragstart={(e) => {
|
||||
if (!e.dataTransfer) return;
|
||||
@ -79,7 +79,6 @@
|
||||
priorPosition = Array.from(dropZone.children).indexOf(dragged);
|
||||
}}
|
||||
{name}
|
||||
commitMessage={description}
|
||||
{files}
|
||||
{commits}
|
||||
{conflicted}
|
||||
|
@ -41,7 +41,6 @@
|
||||
export let branchId: string;
|
||||
export let projectPath: string;
|
||||
export let name: string;
|
||||
export let commitMessage: string;
|
||||
export let files: File[];
|
||||
export let commits: Commit[];
|
||||
export let projectId: string;
|
||||
@ -54,6 +53,7 @@
|
||||
|
||||
const branchController = getContext<BranchController>(BRANCH_CONTROLLER_KEY);
|
||||
const user = stores.user;
|
||||
let commitMessage: string;
|
||||
|
||||
$: remoteCommits = commits.filter((c) => c.isRemote);
|
||||
$: localCommits = commits.filter((c) => !c.isRemote);
|
||||
|
Loading…
Reference in New Issue
Block a user