From 7566bcbef56d3c341f961f15fa8345909a01c61e Mon Sep 17 00:00:00 2001 From: Eric Date: Wed, 28 Sep 2022 16:22:40 +0200 Subject: [PATCH] 2235 - REGRESSION: Once we hide columns of the graph using the new context menu, we cannot show them again --- src/webviews/apps/plus/graph/GraphWrapper.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webviews/apps/plus/graph/GraphWrapper.tsx b/src/webviews/apps/plus/graph/GraphWrapper.tsx index ea25db2..8607093 100644 --- a/src/webviews/apps/plus/graph/GraphWrapper.tsx +++ b/src/webviews/apps/plus/graph/GraphWrapper.tsx @@ -689,7 +689,7 @@ export function GraphWrapper({ className="column-button" type="button" role="button" - data-vscode-context={JSON.stringify({ webviewItem: 'gitlens:graph:columns' })} + data-vscode-context={graphContext?.header || JSON.stringify({ webviewItem: 'gitlens:graph:columns' })} onClick={handleToggleColumnSettings} >