For the Kibana metrics will always be numbers so we want the column to

always align right.
This commit is contained in:
Chris Cowan 2014-10-16 13:25:43 -07:00
parent 519089a541
commit 1e29129ac3

View file

@ -36,7 +36,7 @@ define(function (require) {
$scope.getColumnClass = function (col, $first, $last) {
var cls = [];
if ($last || (col.field && col.field.type === 'number')) {
if ($last || (col.categoryName === 'metric')) {
cls.push('visualize-table-right');
}
@ -143,4 +143,4 @@ define(function (require) {
}
};
};
});
});