mirror of
https://github.com/nasa/openmct.git
synced 2025-06-18 15:18:12 +00:00
Cancel editing bug (#2355)
* WIP * Refresh view with object from persistence
This commit is contained in:
committed by
Pegah Sarram
parent
baf410a364
commit
964c326535
@ -79,9 +79,11 @@ export default class Editor extends EventEmitter {
|
||||
* @private
|
||||
*/
|
||||
cancel() {
|
||||
this.getTransactionService().cancel();
|
||||
let cancelPromise = this.getTransactionService().cancel();
|
||||
this.editing = false;
|
||||
this.emit('isEditing', false);
|
||||
|
||||
return cancelPromise;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user