mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Explore: Fixes filtering in Prometheus queries when clicking in Table (#17083)
Fixes: #17071
This commit is contained in:
parent
aed3d0d3ad
commit
fdd421e24c
@ -26,7 +26,7 @@ export default class Table extends PureComponent<TableProps> {
|
|||||||
if (e.target) {
|
if (e.target) {
|
||||||
const link = e.target as HTMLElement;
|
const link = e.target as HTMLElement;
|
||||||
if (link.className === 'link') {
|
if (link.className === 'link') {
|
||||||
const columnKey = column.Header;
|
const columnKey = column.Header().props.title;
|
||||||
const rowValue = rowInfo.row[columnKey];
|
const rowValue = rowInfo.row[columnKey];
|
||||||
this.props.onClickCell(columnKey, rowValue);
|
this.props.onClickCell(columnKey, rowValue);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user