mirror of
https://github.com/nasa/openmct.git
synced 2025-06-16 22:28:13 +00:00
Fixes some issues relating to removal of objects (#2366)
* Leave edit mode on navigation after removal * Only leave edit mode if removing navigated item, or parent of * Do not emit mutation from filters with out of date object model
This commit is contained in:
committed by
Deep Tailor
parent
b659f205f7
commit
6bf4b3aba8
@ -85,6 +85,10 @@ export default class RemoveAction {
|
||||
);
|
||||
|
||||
this.openmct.objects.mutate(parent, 'composition', composition);
|
||||
|
||||
if (this.inNavigationPath(child) && this.openmct.editor.isEditing()) {
|
||||
this.openmct.editor.save();
|
||||
}
|
||||
}
|
||||
|
||||
appliesTo(objectPath) {
|
||||
|
Reference in New Issue
Block a user