From fcf12fdf3ff4bb096da2ec915b51d17715b874fa Mon Sep 17 00:00:00 2001 From: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com> Date: Thu, 16 Nov 2023 12:50:07 +0100 Subject: [PATCH] SCM - fix issue with incoming/outgoing separator --- src/vs/workbench/contrib/scm/browser/scmViewPane.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/vs/workbench/contrib/scm/browser/scmViewPane.ts b/src/vs/workbench/contrib/scm/browser/scmViewPane.ts index c41a9bdbefff1..80d4301436bc9 100644 --- a/src/vs/workbench/contrib/scm/browser/scmViewPane.ts +++ b/src/vs/workbench/contrib/scm/browser/scmViewPane.ts @@ -3049,8 +3049,9 @@ class SCMTreeDataSource implements IAsyncDataSource h.count ?? 0 > 0)) { - // Separator + + // Incoming/Outgoing Separator + if (hasSomeChanges && historyItemGroups.length > 0) { children.push({ label: localize('syncSeparatorHeader', "Incoming/Outgoing"), repository: inputOrElement,