Skip to content

Commit

Permalink
Adding class for _source field
Browse files Browse the repository at this point in the history
  • Loading branch information
ycombinator committed Jun 4, 2015
1 parent d32034c commit 1c43563
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/kibana/components/doc_table/components/table_row.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}));
});
Expand Down
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit 1c43563

Please sign in to comment.