mirror of
https://github.com/nasa/openmct.git
synced 2024-12-21 14:07:50 +00:00
Addressed code review points
This commit is contained in:
parent
26e368f52d
commit
8c3616da32
@ -103,7 +103,7 @@ define(
|
||||
if (countEditableViews(editableObject) > 0 && editableObject.hasCapability('composition')) {
|
||||
this.navigationService.setNavigation(editableObject);
|
||||
} else {
|
||||
return editableObject.getCapability('action').perform('save-as');
|
||||
return editableObject.getCapability('action').perform('save');
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -171,10 +171,10 @@ define([
|
||||
"priority": "mandatory"
|
||||
},
|
||||
{
|
||||
"key": "save-as",
|
||||
"key": "save",
|
||||
"category": "conclude-editing",
|
||||
"implementation": SaveAsAction,
|
||||
"name": "Save As",
|
||||
"name": "Save",
|
||||
"description": "Save changes made to these objects.",
|
||||
"depends": [
|
||||
"$injector",
|
||||
|
Loading…
Reference in New Issue
Block a user