From fdd421e24c38e92c9ea67d326ad56d00563713bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=A4ggmark?= Date: Wed, 15 May 2019 11:43:27 +0200 Subject: [PATCH] Explore: Fixes filtering in Prometheus queries when clicking in Table (#17083) Fixes: #17071 --- public/app/features/explore/Table.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/explore/Table.tsx b/public/app/features/explore/Table.tsx index bbf338df8f9..8c1891de875 100644 --- a/public/app/features/explore/Table.tsx +++ b/public/app/features/explore/Table.tsx @@ -26,7 +26,7 @@ export default class Table extends PureComponent { 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); }