mirror of
https://github.com/nasa/openmct.git
synced 2025-06-16 06:08:11 +00:00
Removed unnecessary extra formatting (#2438)
This commit is contained in:
committed by
Pegah Sarram
parent
3b094e43e3
commit
e84ade1752
@ -20,7 +20,7 @@
|
|||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
<template>
|
<template>
|
||||||
<td @click="selectCell($event.currentTarget, columnKey)">{{formattedValue}}</td>
|
<td @click="selectCell($event.currentTarget, columnKey)" :title="formattedValue">{{formattedValue}}</td>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
|
@ -32,7 +32,6 @@
|
|||||||
:is="componentList[key]"
|
:is="componentList[key]"
|
||||||
:columnKey="key"
|
:columnKey="key"
|
||||||
:style="columnWidths[key] === undefined ? {} : { width: columnWidths[key] + 'px', 'max-width': columnWidths[key] + 'px'}"
|
:style="columnWidths[key] === undefined ? {} : { width: columnWidths[key] + 'px', 'max-width': columnWidths[key] + 'px'}"
|
||||||
:title="formattedRow[key]"
|
|
||||||
:class="[cellLimitClasses[key], selectableColumns[key] ? 'is-selectable' : '']"
|
:class="[cellLimitClasses[key], selectableColumns[key] ? 'is-selectable' : '']"
|
||||||
:objectPath="objectPath"
|
:objectPath="objectPath"
|
||||||
:row="row">
|
:row="row">
|
||||||
@ -60,7 +59,6 @@ export default {
|
|||||||
data: function () {
|
data: function () {
|
||||||
return {
|
return {
|
||||||
rowTop: (this.rowOffset + this.rowIndex) * this.rowHeight + 'px',
|
rowTop: (this.rowOffset + this.rowIndex) * this.rowHeight + 'px',
|
||||||
formattedRow: this.row.getFormattedDatum(this.headers),
|
|
||||||
rowClass: this.row.getRowClass(),
|
rowClass: this.row.getRowClass(),
|
||||||
cellLimitClasses: this.row.getCellLimitClasses(),
|
cellLimitClasses: this.row.getCellLimitClasses(),
|
||||||
componentList: Object.keys(this.headers).reduce((components, header) => {
|
componentList: Object.keys(this.headers).reduce((components, header) => {
|
||||||
@ -116,7 +114,6 @@ export default {
|
|||||||
this.rowTop = (rowOffset + this.rowIndex) * this.rowHeight + 'px';
|
this.rowTop = (rowOffset + this.rowIndex) * this.rowHeight + 'px';
|
||||||
},
|
},
|
||||||
formatRow: function (row) {
|
formatRow: function (row) {
|
||||||
this.formattedRow = row.getFormattedDatum(this.headers);
|
|
||||||
this.rowClass = row.getRowClass();
|
this.rowClass = row.getRowClass();
|
||||||
this.cellLimitClasses = row.getCellLimitClasses();
|
this.cellLimitClasses = row.getCellLimitClasses();
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user