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
commit 0a7ab9a47d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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')}