mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-27 11:36:48 +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
|
<Lane
|
||||||
on:dragstart={(e) => {
|
on:dragstart={(e) => {
|
||||||
if (!e.dataTransfer) return;
|
if (!e.dataTransfer) return;
|
||||||
@ -79,7 +79,6 @@
|
|||||||
priorPosition = Array.from(dropZone.children).indexOf(dragged);
|
priorPosition = Array.from(dropZone.children).indexOf(dragged);
|
||||||
}}
|
}}
|
||||||
{name}
|
{name}
|
||||||
commitMessage={description}
|
|
||||||
{files}
|
{files}
|
||||||
{commits}
|
{commits}
|
||||||
{conflicted}
|
{conflicted}
|
||||||
|
@ -41,7 +41,6 @@
|
|||||||
export let branchId: string;
|
export let branchId: string;
|
||||||
export let projectPath: string;
|
export let projectPath: string;
|
||||||
export let name: string;
|
export let name: string;
|
||||||
export let commitMessage: string;
|
|
||||||
export let files: File[];
|
export let files: File[];
|
||||||
export let commits: Commit[];
|
export let commits: Commit[];
|
||||||
export let projectId: string;
|
export let projectId: string;
|
||||||
@ -54,6 +53,7 @@
|
|||||||
|
|
||||||
const branchController = getContext<BranchController>(BRANCH_CONTROLLER_KEY);
|
const branchController = getContext<BranchController>(BRANCH_CONTROLLER_KEY);
|
||||||
const user = stores.user;
|
const user = stores.user;
|
||||||
|
let commitMessage: string;
|
||||||
|
|
||||||
$: remoteCommits = commits.filter((c) => c.isRemote);
|
$: remoteCommits = commits.filter((c) => c.isRemote);
|
||||||
$: localCommits = commits.filter((c) => !c.isRemote);
|
$: localCommits = commits.filter((c) => !c.isRemote);
|
||||||
|
Loading…
Reference in New Issue
Block a user