mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
fix copy paste not working in new modal
This commit is contained in:
parent
c6ba6ac33b
commit
ca5f535aba
1 changed files with 1 additions and 1 deletions
|
|
@ -498,7 +498,7 @@ export function pasteComponents(targetParentId, copiedComponentObj) {
|
|||
targetParentId === key ||
|
||||
(components?.[key]?.component.component === 'Tabs' &&
|
||||
targetParentId?.split('-')?.slice(0, -1)?.join('-') === key) ||
|
||||
(['Container', 'Form', 'Modal'].includes(components?.[key]?.component.component) &&
|
||||
(['Container', 'Form', 'ModalV2'].includes(components?.[key]?.component.component) &&
|
||||
['header', 'footer'].some((section) => targetParentId.includes(section)))
|
||||
)
|
||||
) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue