mirror of
https://github.com/nasa/openmct.git
synced 2025-06-18 15:18:12 +00:00
Changed logic of persisted check slightly
This commit is contained in:
@ -67,7 +67,7 @@ define(
|
||||
}
|
||||
|
||||
function onCancel() {
|
||||
if (self.domainObject.getModel().persisted) {
|
||||
if (self.domainObject.getModel().persisted !== undefined) {
|
||||
//Fetch clean model from persistence
|
||||
return self.persistenceCapability.refresh().then(function (result) {
|
||||
self.persistPending = false;
|
||||
|
Reference in New Issue
Block a user