Skip to content

Commit d306ba0

Browse files
authored
SCM Graph - compressed elements should not have any actions (microsoft#249959)
1 parent 9207a3b commit d306ba0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/vs/workbench/contrib/scm/browser/scmHistoryViewPane.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,9 @@ class HistoryItemChangeRenderer implements ICompressibleTreeRenderer<SCMHistoryI
664664
fileKind: FileKind.FOLDER,
665665
separator: this._labelService.getSeparator(folder.uri.scheme)
666666
});
667+
668+
templateData.actionBar.context = undefined;
669+
templateData.actionBar.setActions([]);
667670
}
668671

669672
private _renderGraphPlaceholder(templateData: HistoryItemChangeTemplate, historyItemViewModel: ISCMHistoryItemViewModel, graphColumns: ISCMHistoryItemGraphNode[]): void {

0 commit comments

Comments
 (0)