Skip to content

Commit

Permalink
Hide disabled actions on GitNode context menus
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonni committed Nov 2, 2023
1 parent b8512d3 commit 9d1fbc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/renderer/src/components/GitGraph/ContextMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ const ContextMenu = ({
disabled: false,
onClick: () => abort(branch),
})),
];
].filter(action => action.disabled !== true);

return open ? (
<Menu
Expand Down

0 comments on commit 9d1fbc6

Please sign in to comment.