Show field name as title. (#2233)

This commit is contained in:
Pegah Sarram 2018-12-04 08:15:33 -08:00 committed by Pete Richards
parent 9ae4e66c91
commit f06427cb3e

View File

@ -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);
},