@entryscape/rdforms 10.13.3 → 10.13.4

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.
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "application profile",
9
9
  "linked data"
10
10
  ],
11
- "version": "10.13.3",
11
+ "version": "10.13.4",
12
12
  "main": "dist/rdforms.node.js",
13
13
  "browser": "dist/rdforms.react.js",
14
14
  "module": "main.js",
@@ -191,6 +191,12 @@ export default class ItemStore {
191
191
  // eslint-disable-next-line class-methods-use-this
192
192
  createExtendedSource(origSource, extSource) {
193
193
  const newSource = Object.assign({}, origSource, extSource);
194
+ if (extSource.id === undefined) {
195
+ // If no new id is provided in the original source,
196
+ // don't inherit the id of the extention as then
197
+ // it will be overwrite it in the ItemStore
198
+ delete newSource.id;
199
+ }
194
200
  if (extSource.enhanced) {
195
201
  let keys;
196
202
  if (extSource.enhanced === true) {