mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Fix remove button not showing in CollectionType forms with allow_delete option
This commit is contained in:
parent
d52e54fd2a
commit
6445342136
@ -60,7 +60,7 @@ export const handleAdd = (button: any): void => {
|
||||
entry.innerHTML = content;
|
||||
entry.classList.add('entry');
|
||||
|
||||
if ("dataCollectionRegular" in collection.dataset) {
|
||||
if ("collectionRegular" in collection.dataset) {
|
||||
initializeRemove(collection, entry);
|
||||
if (empty_explain !== null) {
|
||||
empty_explain.remove();
|
||||
|
Loading…
x
Reference in New Issue
Block a user