Commit fdd421e2 by Hugo Häggmark Committed by Torkel Ödegaard

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

Fixes: #17071
parent aed3d0d3
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment