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