mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-27 03:22:15 +03:00
Merge pull request #2203 from gitbutlerapp/fix-draggable-file-function
Fix draggable file function
This commit is contained in:
commit
ffa40422d9
@ -55,7 +55,7 @@
|
|||||||
const newOwnership = `${data.hunk.filePath}:${data.hunk.id}`;
|
const newOwnership = `${data.hunk.filePath}:${data.hunk.id}`;
|
||||||
branchController.amendBranch(branch.id, newOwnership);
|
branchController.amendBranch(branch.id, newOwnership);
|
||||||
} else if (isDraggableFile(data)) {
|
} else if (isDraggableFile(data)) {
|
||||||
const newOwnership = filesToOwnership(get(data.files));
|
const newOwnership = filesToOwnership([data.current, ...get(data.files)]);
|
||||||
branchController.amendBranch(branch.id, newOwnership);
|
branchController.amendBranch(branch.id, newOwnership);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user