remove modified and persisted keys from duplicates (#3241)

This commit is contained in:
Deep Tailor 2020-07-28 11:05:55 -07:00 committed by GitHub
parent 7d51d9c1eb
commit e667b22b3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -612,6 +612,13 @@ export default {
object.composition.push(...composition); object.composition.push(...composition);
} }
if (object.modified || object.persisted) {
object.modified = undefined;
object.persisted = undefined;
delete object.modified;
delete object.persisted;
}
object.name = objectName; object.name = objectName;
object.identifier = identifier; object.identifier = identifier;
object.location = parentKeyString; object.location = parentKeyString;