Compare commits

...

1 Commits

Author SHA1 Message Date
3a22880b0c leave transaction open on failed editor save
add associated unit tests
2022-10-05 00:36:13 -07:00

View File

@ -63,10 +63,9 @@ export default class Editor extends EventEmitter {
.then(() => {
this.editing = false;
this.emit('isEditing', false);
this.openmct.objects.endTransaction();
}).catch(error => {
throw error;
}).finally(() => {
this.openmct.objects.endTransaction();
});
}