Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kertal committed Dec 1, 2020
1 parent af7ca07 commit d25abd0
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import { DOC_HIDE_TIME_COLUMN_SETTING } from '../../../../../common';
import cellTemplateHtml from '../components/table_row/cell.html';
import truncateByHeightTemplateHtml from '../components/table_row/truncate_by_height.html';
import { getServices } from '../../../../kibana_services';
import { getContextUrl } from '../../../helpers/get_context_url';

const TAGS_WITH_WS = />\s+</g;

Expand Down Expand Up @@ -109,7 +110,12 @@ export function createTableRowDirective($compile: ng.ICompileService) {
};

$scope.getContextAppHref = () => {
return getContextUrl($scope.indexPattern.id, $scope.row._id, getServices().filterManager);
return getContextUrl(
$scope.indexPattern.id,
$scope.row._id,
$scope.columns,
getServices().filterManager
);
};

// create a tr element that lists the value for each *column*
Expand Down

0 comments on commit d25abd0

Please sign in to comment.