MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / isOptionSelectable

Function isOptionSelectable

webview-ui/src/components/chat/ContextMenu.tsx:249–255  ·  view source on GitHub ↗
(option: ContextMenuQueryItem)

Source from the content-addressed store, hash-verified

247 }
248
249 const isOptionSelectable = (option: ContextMenuQueryItem): boolean => {
250 return (
251 option.type !== ContextMenuOptionType.NoResults &&
252 option.type !== ContextMenuOptionType.URL &&
253 option.type !== ContextMenuOptionType.SectionHeader
254 )
255 }
256
257 const handleSettingsClick = (e: React.MouseEvent) => {
258 // Prevent any default behavior

Callers 1

ContextMenuFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected