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

Fixes: #17071
(cherry picked from commit fdd421e24c)
This commit is contained in:
Hugo Häggmark
2019-05-27 14:30:34 +02:00
committed by Marcus Efraimsson
parent 5d16da732f
commit ad7bd8850f
+1 -1
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);
}