File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/webviews/apps/plus/graph/graph-wrapper Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -475,7 +475,7 @@ export function GraphWrapperReact(initProps: GraphWrapperInitProps) {
475475
476476 const handleRowContextMenu = ( _event : React . MouseEvent < any > , graphZoneType : GraphZoneType , graphRow : GraphRow ) => {
477477 if ( graphZoneType === refZone ) return ;
478- // initProps.onRowContextMenu?.({ graphZoneType: graphZoneType, graphRow: graphRow });
478+
479479 // If the row is in the current selection, use the typed selection context, otherwise clear it
480480 const newSelectionContext = selectionContexts ?. selectedShas . has ( graphRow . sha )
481481 ? selectionContexts . contexts . get ( graphRow . type )
@@ -490,6 +490,8 @@ export function GraphWrapperReact(initProps: GraphWrapperInitProps) {
490490 ...newSelectionContext ,
491491 } ,
492492 } ) ;
493+
494+ initProps . onRowContextMenu ?.( { graphZoneType : graphZoneType , graphRow : graphRow } ) ;
493495 } ;
494496
495497 return (
You can’t perform that action at this time.
0 commit comments