mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2025-01-07 02:11:11 +03:00
Merge pull request #4944 from gitbutlerapp/Fix-line-manager-forkpoint-integrated
fix: Correct condition for removing right column
This commit is contained in:
commit
5e48159a83
@ -412,7 +412,11 @@ function generateDifferentForkpoint({
|
||||
}
|
||||
|
||||
// Remove one right column if there is only integrated with no local or remote commits
|
||||
if (integratedBranchGroups.length > 0 && localBranchGroups.length === 0 && remoteBranchGroups) {
|
||||
if (
|
||||
integratedBranchGroups.length > 0 &&
|
||||
localBranchGroups.length === 0 &&
|
||||
remoteBranchGroups.length === 0
|
||||
) {
|
||||
removeRightMostColumn();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user