mirror of
https://github.com/nasa/openmct.git
synced 2025-03-21 03:25:44 +00:00
Changes for tabs visibility and priority
- Edit and browse mode priorities for Properties and Elements.
This commit is contained in:
parent
9f1cac57ed
commit
f199ce58ea
@ -65,7 +65,7 @@ export default function ElementsViewProvider(openmct) {
|
||||
return hasComposition;
|
||||
},
|
||||
priority: function () {
|
||||
return openmct.priority.DEFAULT;
|
||||
return openmct.editor.isEditing() ? openmct.priority.DEFAULT : openmct.priority.LOW;
|
||||
},
|
||||
destroy: function () {
|
||||
if (_destroy) {
|
||||
|
@ -56,10 +56,7 @@ export default function PropertiesViewProvider(openmct) {
|
||||
_destroy = destroy;
|
||||
},
|
||||
priority: function () {
|
||||
if (openmct.editor.isEditing()) {
|
||||
return openmct.priority.LOW;
|
||||
}
|
||||
return openmct.priority.DEFAULT;
|
||||
return openmct.editor.isEditing() ? openmct.priority.LOW : openmct.priority.DEFAULT;
|
||||
},
|
||||
destroy: function () {
|
||||
if (_destroy) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user