mirror of
https://github.com/nasa/openmct.git
synced 2025-05-31 22:50:49 +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">
|
<template v-if="!isEditing && telemetryFormat?.length">
|
||||||
{{ telemetryFormat }}
|
{{ telemetryFormat }}
|
||||||
</template>
|
</template>
|
||||||
<span class="hint" v-else> No custom formating applied </span>
|
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -65,7 +65,7 @@ export default function ElementsViewProvider(openmct) {
|
|||||||
return hasComposition;
|
return hasComposition;
|
||||||
},
|
},
|
||||||
priority: function () {
|
priority: function () {
|
||||||
return openmct.editor.isEditing() ? openmct.priority.DEFAULT : openmct.priority.LOW;
|
return openmct.editor.isEditing() ? openmct.priority.HIGH : openmct.priority.LOW;
|
||||||
},
|
},
|
||||||
destroy: function () {
|
destroy: function () {
|
||||||
if (_destroy) {
|
if (_destroy) {
|
||||||
|
@ -56,7 +56,7 @@ export default function PropertiesViewProvider(openmct) {
|
|||||||
_destroy = destroy;
|
_destroy = destroy;
|
||||||
},
|
},
|
||||||
priority: function () {
|
priority: function () {
|
||||||
return openmct.editor.isEditing() ? openmct.priority.LOW : openmct.priority.DEFAULT;
|
return openmct.editor.isEditing() ? openmct.priority.LOW : openmct.priority.HIGH;
|
||||||
},
|
},
|
||||||
destroy: function () {
|
destroy: function () {
|
||||||
if (_destroy) {
|
if (_destroy) {
|
||||||
|
@ -62,7 +62,7 @@ export default function GanttChartInspectorViewProvider(openmct) {
|
|||||||
_destroy = destroy;
|
_destroy = destroy;
|
||||||
},
|
},
|
||||||
priority: function () {
|
priority: function () {
|
||||||
return openmct.priority.HIGH + 1;
|
return openmct.editor.isEditing() ? openmct.priority.HIGH + 1 : openmct.priority.DEFAULT;
|
||||||
},
|
},
|
||||||
destroy: function () {
|
destroy: function () {
|
||||||
if (_destroy) {
|
if (_destroy) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user