summaryrefslogtreecommitdiff
path: root/components/contextmenu.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'components/contextmenu.tsx')
-rw-r--r--components/contextmenu.tsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/contextmenu.tsx b/components/contextmenu.tsx
index 77deb48..54a8c85 100644
--- a/components/contextmenu.tsx
+++ b/components/contextmenu.tsx
@@ -40,6 +40,7 @@ import {
ExternalLinkIcon,
ChevronRightIcon,
PlusSquareIcon,
+ MinusIcon,
} from '@chakra-ui/icons'
import { OrgRoamGraphReponse, OrgRoamLink, OrgRoamNode } from '../api'
@@ -119,6 +120,9 @@ export const ContextMenu = (props: ContextMenuProps) => {
>
Open local graph for this node
</MenuItem>
+ <MenuItem onClick={() => handleLocal(target!, 'remove')} icon={<MinusIcon />}>
+ Exclude node from local graph
+ </MenuItem>
</>
)}
{!target?.properties?.FILELESS ? (