Adding class for _source field
This commit is contained in:
parent
d32034c46a
commit
1c43563653
|
@ -107,6 +107,7 @@ define(function (require) {
|
|||
$scope.columns.forEach(function (column) {
|
||||
newHtmls.push(cellTemplate({
|
||||
timefield: false,
|
||||
sourcefield: (column === '_source'),
|
||||
formatted: _displayField(row, column, true)
|
||||
}));
|
||||
});
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<td <%= timefield ? 'class="discover-table-timefield" width="1%"' : 'class="discover-table-datafield"' %>>
|
||||
<td <%= timefield ? 'class="discover-table-timefield" width="1%"' : sourcefield ? 'class="discover-table-sourcefield"' : 'class="discover-table-datafield"' %>>
|
||||
<%= formatted %>
|
||||
</td>
|
||||
|
|
Loading…
Reference in a new issue