mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-26 09:01:17 +03:00
Update input url if user changed the url in manage links dialog
This commit is contained in:
@@ -74,7 +74,7 @@ const ManageScrapedLinksDialog = ({ show, dialogProps, onCancel, onSave }) => {
|
||||
}
|
||||
|
||||
const handleSaveLinks = () => {
|
||||
onSave(selectedLinks)
|
||||
onSave(url, selectedLinks)
|
||||
}
|
||||
|
||||
const component = show ? (
|
||||
|
||||
@@ -102,8 +102,9 @@ const NodeInputHandler = ({ inputAnchor, inputParam, data, disabled = false, isA
|
||||
setShowManageScrapedLinksDialog(true)
|
||||
}
|
||||
|
||||
const onManageLinksDialogSave = (links) => {
|
||||
const onManageLinksDialogSave = (url, links) => {
|
||||
setShowManageScrapedLinksDialog(false)
|
||||
data.inputs.url = url
|
||||
data.inputs.selectedLinks = links
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user