fix: incorrect duplication when no target node is selected (#7539)
This commit is contained in:
parent
9618f86980
commit
0a7ab9a47d
2 changed files with 21 additions and 11 deletions
|
|
@ -138,7 +138,7 @@ const PanelOperatorPopup = ({
|
|||
className='flex items-center justify-between px-3 h-8 text-sm text-gray-700 rounded-lg cursor-pointer hover:bg-gray-50'
|
||||
onClick={() => {
|
||||
onClosePopup()
|
||||
handleNodesDuplicate()
|
||||
handleNodesDuplicate(id)
|
||||
}}
|
||||
>
|
||||
{t('workflow.common.duplicate')}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue