MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / getInputDisabled

Function getInputDisabled

packages/ui/src/views/chatmessage/ChatMessage.jsx:2154–2161  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2152 }, [])
2153
2154 const getInputDisabled = () => {
2155 return (
2156 loading ||
2157 !chatflowid ||
2158 (leadsConfig?.status && !isLeadSaved) ||
2159 (messages[messages.length - 1].action && Object.keys(messages[messages.length - 1].action).length > 0)
2160 )
2161 }
2162
2163 const previewDisplay = (item) => {
2164 if (item.mime.startsWith('image/')) {

Callers 2

previewDisplayFunction · 0.85
ChatMessageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected