mirror of
https://github.com/nasa/openmct.git
synced 2024-12-21 14:07:50 +00:00
Show field name as title. (#2233)
This commit is contained in:
parent
9ae4e66c91
commit
f06427cb3e
@ -29,6 +29,7 @@
|
||||
</div>
|
||||
|
||||
<div v-if="showValue"
|
||||
:title="fieldName"
|
||||
class="c-telemetry-view__value"
|
||||
:class="[telemetryClass]">
|
||||
<div class="c-telemetry-view__value-text">{{ telemetryValue }}</div>
|
||||
@ -94,6 +95,9 @@
|
||||
fontSize: alphanumeric.size
|
||||
}
|
||||
},
|
||||
fieldName() {
|
||||
return this.valueMetadata.name;
|
||||
},
|
||||
valueMetadata() {
|
||||
return this.metadata.value(this.item.config.alphanumeric.value);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user