mirror of
https://github.com/nasa/openmct.git
synced 2024-12-22 14:32:22 +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 = {
|
var modelClone = {
|
||||||
id: uuid(),
|
id: uuid(),
|
||||||
model: makeClone(originalObject.getModel()),
|
model: makeClone(originalObject.getModel()),
|
||||||
persistenceSpace: originalParent.getCapability('persistence')
|
persistenceSpace: originalParent.hasCapability('persistence') && originalParent.getCapability('persistence').getSpace()
|
||||||
};
|
};
|
||||||
delete modelClone.model.composition;
|
delete modelClone.model.composition;
|
||||||
delete modelClone.model.persisted;
|
delete modelClone.model.persisted;
|
||||||
|
Loading…
Reference in New Issue
Block a user