mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
filter out table responses that don't have columns and rows
This commit is contained in:
parent
18b39967fc
commit
2835c4336d
@ -158,7 +158,9 @@ export function calculateResultsFromQueryTransactions(
|
||||
);
|
||||
const tableResult = mergeTablesIntoModel(
|
||||
new TableModel(),
|
||||
...queryTransactions.filter(qt => qt.resultType === 'Table' && qt.done && qt.result).map(qt => qt.result)
|
||||
...queryTransactions
|
||||
.filter(qt => qt.resultType === 'Table' && qt.done && qt.result && qt.result.columns && qt.result.rows)
|
||||
.map(qt => qt.result)
|
||||
);
|
||||
const logsResult =
|
||||
datasource && datasource.mergeStreams
|
||||
|
Loading…
Reference in New Issue
Block a user