mirror of
https://github.com/nasa/openmct.git
synced 2024-12-21 22:17:49 +00:00
[UI] Progress indicator for pending operations (e.g. duplicate) #249- Fixed serious issue with persistence
This commit is contained in:
parent
43e920d3b6
commit
5b3f780204
@ -92,7 +92,7 @@ define(
|
||||
var modelClone = {
|
||||
id: uuid(),
|
||||
model: makeClone(originalObject.getModel()),
|
||||
persistenceSpace: originalParent.getCapability('persistence')
|
||||
persistenceSpace: originalParent.hasCapability('persistence') && originalParent.getCapability('persistence').getSpace()
|
||||
};
|
||||
delete modelClone.model.composition;
|
||||
delete modelClone.model.persisted;
|
||||
|
Loading…
Reference in New Issue
Block a user