mirror of
https://github.com/nasa/openmct.git
synced 2025-02-26 03:18:51 +00:00
Enhancements for Derived Telemetry object
- Closes #7823 - Code cleanup and tweaks.
This commit is contained in:
parent
f8ceaa5a83
commit
e1f50feda0
@ -53,11 +53,7 @@
|
||||
</label>
|
||||
</div>
|
||||
<div class="c-comps__refs">
|
||||
<div
|
||||
v-for="parameter in parameters"
|
||||
:key="parameter.keyString"
|
||||
class="c-comps__ref"
|
||||
>
|
||||
<div v-for="parameter in parameters" :key="parameter.keyString" class="c-comps__ref">
|
||||
<span class="c-test-datum__string">Reference</span>
|
||||
<input
|
||||
v-if="isEditing"
|
||||
@ -69,7 +65,7 @@
|
||||
<div v-else class="--em">{{ parameter.name }}</div>
|
||||
<span class="c-test-datum__string">=</span>
|
||||
<span class="c-comps__path-and-field">
|
||||
<ObjectPath
|
||||
<ObjectPathString
|
||||
:domain-object="compsManager.getTelemetryObjectForParameter(parameter.keyString)"
|
||||
:show-object-itself="true"
|
||||
class="--em"
|
||||
@ -142,7 +138,7 @@
|
||||
import { evaluate } from 'mathjs';
|
||||
import { inject, onBeforeMount, onBeforeUnmount, ref } from 'vue';
|
||||
|
||||
import ObjectPath from '../../../ui/components/ObjectPathString.vue';
|
||||
import ObjectPathString from '../../../ui/components/ObjectPathString.vue';
|
||||
import CompsManager from '../CompsManager';
|
||||
|
||||
const openmct = inject('openmct');
|
||||
@ -199,10 +195,6 @@ function updateParameters() {
|
||||
applyTestData();
|
||||
}
|
||||
|
||||
// function getIconForType(telemetryObject) {
|
||||
// return openmct.types.get(telemetryObject.type).definition.cssClass;
|
||||
// }
|
||||
|
||||
function toggleTestData() {
|
||||
testDataApplied.value = !testDataApplied.value;
|
||||
if (testDataApplied.value) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user