mirror of
https://github.com/nasa/openmct.git
synced 2025-03-21 03:25:44 +00:00
Changes for tabs visibility and priority
- Adjusted edit and browse mode priorities for Properties and Elements. - Priority set for Gantt view.
This commit is contained in:
parent
f199ce58ea
commit
b09b9e0b5b
@ -42,7 +42,6 @@
|
||||
<template v-if="!isEditing && telemetryFormat?.length">
|
||||
{{ telemetryFormat }}
|
||||
</template>
|
||||
<span class="hint" v-else> No custom formating applied </span>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -65,7 +65,7 @@ export default function ElementsViewProvider(openmct) {
|
||||
return hasComposition;
|
||||
},
|
||||
priority: function () {
|
||||
return openmct.editor.isEditing() ? openmct.priority.DEFAULT : openmct.priority.LOW;
|
||||
return openmct.editor.isEditing() ? openmct.priority.HIGH : openmct.priority.LOW;
|
||||
},
|
||||
destroy: function () {
|
||||
if (_destroy) {
|
||||
|
@ -56,7 +56,7 @@ export default function PropertiesViewProvider(openmct) {
|
||||
_destroy = destroy;
|
||||
},
|
||||
priority: function () {
|
||||
return openmct.editor.isEditing() ? openmct.priority.LOW : openmct.priority.DEFAULT;
|
||||
return openmct.editor.isEditing() ? openmct.priority.LOW : openmct.priority.HIGH;
|
||||
},
|
||||
destroy: function () {
|
||||
if (_destroy) {
|
||||
|
@ -62,7 +62,7 @@ export default function GanttChartInspectorViewProvider(openmct) {
|
||||
_destroy = destroy;
|
||||
},
|
||||
priority: function () {
|
||||
return openmct.priority.HIGH + 1;
|
||||
return openmct.editor.isEditing() ? openmct.priority.HIGH + 1 : openmct.priority.DEFAULT;
|
||||
},
|
||||
destroy: function () {
|
||||
if (_destroy) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user