Skip to content

Commit

Permalink
fix: mapping full file upload configuration (#3713)
Browse files Browse the repository at this point in the history
  • Loading branch information
daniloferreira authored Dec 17, 2024
1 parent 4c29b23 commit 6511fb3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/ui/src/views/chatflows/ShareChatbot.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,9 @@ const ShareChatbot = ({ isSessionMemory, isAgentCanvas }) => {
}
}

return obj
if(chatbotConfig?.fullFileUpload) obj.fullFileUpload = chatbotConfig?.fullFileUpload

Check failure on line 159 in packages/ui/src/views/chatflows/ShareChatbot.jsx

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 18.15.0)

Insert `·`

return obj

Check failure on line 161 in packages/ui/src/views/chatflows/ShareChatbot.jsx

View workflow job for this annotation

GitHub Actions / build (ubuntu-latest, 18.15.0)

Delete `·`
}

const onSave = async () => {
Expand Down

0 comments on commit 6511fb3

Please sign in to comment.