mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-25 02:15:09 +01:00
SCM - fix issue with incoming/outgoing separator (#198413)
This commit is contained in:
@@ -3049,8 +3049,9 @@ class SCMTreeDataSource implements IAsyncDataSource<ISCMViewService, TreeElement
|
||||
|
||||
// History item groups
|
||||
const historyItemGroups = await this.getHistoryItemGroups(inputOrElement);
|
||||
if (historyItemGroups.some(h => h.count ?? 0 > 0)) {
|
||||
// Separator
|
||||
|
||||
// Incoming/Outgoing Separator
|
||||
if (hasSomeChanges && historyItemGroups.length > 0) {
|
||||
children.push({
|
||||
label: localize('syncSeparatorHeader', "Incoming/Outgoing"),
|
||||
repository: inputOrElement,
|
||||
|
||||
Reference in New Issue
Block a user