mirror of
https://github.com/nasa/openmct.git
synced 2025-02-20 17:33:23 +00:00
[Edit] Don't refresh unpersisted objects
This commit is contained in:
parent
e42b8d22f7
commit
a3a0f003f0
@ -152,6 +152,10 @@ define(
|
||||
}, modified);
|
||||
}
|
||||
|
||||
if (domainObject.getModel().persisted === undefined) {
|
||||
return this.$q.when(true);
|
||||
}
|
||||
|
||||
return this.persistenceService.readObject(
|
||||
this.getSpace(),
|
||||
this.getKey()
|
||||
|
Loading…
x
Reference in New Issue
Block a user