Skip to content

Commit 1564aeb

Browse files
committed
Only show "View Changes" if multi diff editor is enabled
1 parent b892ee9 commit 1564aeb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1733,7 +1733,8 @@ class HistoryItemViewChangesAction extends Action2 {
17331733
f1: false,
17341734
menu: {
17351735
id: MenuId.SCMHistoryItem,
1736-
group: 'inline'
1736+
group: 'inline',
1737+
when: ContextKeyExpr.has('config.multiDiffEditor.experimental.enabled'),
17371738
}
17381739
});
17391740
}

0 commit comments

Comments
 (0)