fix duplicate modal
This commit is contained in:
parent
55eefce740
commit
b2302f8067
3
app.js
3
app.js
@ -335,6 +335,9 @@ function renderContainers(containers) {
|
|||||||
|
|
||||||
// Add event listeners for action buttons
|
// Add event listeners for action buttons
|
||||||
addActionListeners(row, container);
|
addActionListeners(row, container);
|
||||||
|
// Add event listener for duplicate button
|
||||||
|
const duplicateBtn = row.querySelector('.action-duplicate');
|
||||||
|
duplicateBtn.addEventListener('click', () => openDuplicateModal(container));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user