fix: incorrect duplication when no target node is selected (#7539)

This commit is contained in:
edo1z
2024-08-23 14:16:15 +09:00
committed by GitHub
parent 9618f86980
commit 0a7ab9a47d
2 changed files with 21 additions and 11 deletions

View File

@@ -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')}