@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
|
@@ -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) {
|