Explore: Fixes filtering in Prometheus queries when clicking in Table (#17083)

Fixes: #17071
This commit is contained in:
Hugo Häggmark 2019-05-15 11:43:27 +02:00 committed by Torkel Ödegaard
parent aed3d0d3ad
commit fdd421e24c

View File

@ -26,7 +26,7 @@ export default class Table extends PureComponent<TableProps> {
if (e.target) {
const link = e.target as HTMLElement;
if (link.className === 'link') {
const columnKey = column.Header;
const columnKey = column.Header().props.title;
const rowValue = rowInfo.row[columnKey];
this.props.onClickCell(columnKey, rowValue);
}