mirror of
https://github.com/nasa/openmct.git
synced 2024-12-20 05:37:53 +00:00
remove modified and persisted keys from duplicates (#3241)
This commit is contained in:
parent
7d51d9c1eb
commit
e667b22b3c
@ -612,6 +612,13 @@ export default {
|
||||
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.identifier = identifier;
|
||||
object.location = parentKeyString;
|
||||
|
Loading…
Reference in New Issue
Block a user