Skip to content

Commit

Permalink
Don't prevent filterable rows just because they don't have a field
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Olson committed May 5, 2017
1 parent e5e939f commit b7472f7
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/ui/public/directives/rows.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,7 @@ module.directive('kbnRows', function ($compile, $rootScope, getAppState, Private
let $cellContent;

if (contents instanceof AggConfigResult) {
const isCellContentFilterable =
contents.type === 'bucket'
&& contents.aggConfig.getField()
&& contents.aggConfig.getField().filterable;

if (isCellContentFilterable) {
if (contents.type === 'bucket') {
$cell = createFilterableCell(contents);
$cellContent = $cell.find('[data-cell-content]');
} else {
Expand Down

0 comments on commit b7472f7

Please sign in to comment.