Fix collection manager JavaScript errors after attribute naming changes
- Update collection manager to use data-collection-id instead of data-content-id - Add safety checks to prevent undefined Map access in addItemControls - Add validation in editor to only initialize collections with valid collection IDs - Resolves TypeError and missing attribute errors in frontend collection management
This commit is contained in:
1
lib/package-lock.json
generated
1
lib/package-lock.json
generated
@@ -311,6 +311,7 @@
|
||||
"integrity": "sha512-GVsDdsbJzzy4S/v3dqWPJ7EfvZJfCHiDqe80IyrF59LYuP+e6U1LJoUqeuqRbwAWoMNoXivMNeNAOf5E22VA1w==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"peer": true,
|
||||
"bin": {
|
||||
"rollup": "dist/bin/rollup"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user