wacom 20.0.12 → 20.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1311,6 +1311,7 @@ class CrudComponent {
1311
1311
  });
1312
1312
  }, 250);
1313
1313
  }
1314
+ updatableFields = ['_id', 'name', 'description', 'data'];
1314
1315
  /**
1315
1316
  * Clears temporary metadata before document creation.
1316
1317
  */
@@ -1349,7 +1350,12 @@ class CrudComponent {
1349
1350
  bulkManagement(create = true) {
1350
1351
  return () => {
1351
1352
  this.__form
1352
- .modalDocs(create ? [] : this.documents)
1353
+ .modalDocs(create
1354
+ ? []
1355
+ : this.documents.map((obj) => Object.fromEntries(this.updatableFields.map((key) => [
1356
+ key,
1357
+ obj[key],
1358
+ ]))))
1353
1359
  .then(async (docs) => {
1354
1360
  if (create) {
1355
1361
  for (const doc of docs) {