MCPcopy Create free account
hub / github.com/DTStack/molecule / onClickMenuItem

Function onClickMenuItem

src/workbench/sidebar/explore/folderTree.tsx:102–105  ·  view source on GitHub ↗
(e, item)

Source from the content-addressed store, hash-verified

100 const hasEditable = detectHasEditableStatus(data);
101
102 const onClickMenuItem = (e, item) => {
103 onClickContextMenu?.(item);
104 contextMenu.current?.hide();
105 };
106
107 // init context menu
108 const initContextMenu = () => {

Callers

nothing calls this directly

Calls 1

hideMethod · 0.80

Tested by

no test coverage detected