mirror of
https://github.com/nasa/openmct.git
synced 2025-06-17 14:48:13 +00:00
linting fixes
This commit is contained in:
@ -135,15 +135,18 @@ export default {
|
|||||||
computed: {
|
computed: {
|
||||||
showLabel() {
|
showLabel() {
|
||||||
let displayMode = this.item.displayMode;
|
let displayMode = this.item.displayMode;
|
||||||
|
|
||||||
return displayMode === 'all' || displayMode === 'label';
|
return displayMode === 'all' || displayMode === 'label';
|
||||||
},
|
},
|
||||||
showValue() {
|
showValue() {
|
||||||
let displayMode = this.item.displayMode;
|
let displayMode = this.item.displayMode;
|
||||||
|
|
||||||
return displayMode === 'all' || displayMode === 'value';
|
return displayMode === 'all' || displayMode === 'value';
|
||||||
},
|
},
|
||||||
unit() {
|
unit() {
|
||||||
let value = this.item.value,
|
let value = this.item.value;
|
||||||
unit = this.metadata.value(value).unit;
|
let unit = this.metadata.value(value).unit;
|
||||||
|
|
||||||
return unit;
|
return unit;
|
||||||
},
|
},
|
||||||
styleObject() {
|
styleObject() {
|
||||||
|
Reference in New Issue
Block a user