()
| 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/')) { |
no outgoing calls
no test coverage detected