mirror of
https://github.com/grafana/grafana.git
synced 2026-07-30 00:08:10 -05:00
Update refId for instant queries (#27954)
This commit is contained in:
@@ -137,7 +137,15 @@ export class LokiDatasource extends DataSourceApi<LokiQuery, LokiOptions> {
|
||||
}
|
||||
|
||||
return {
|
||||
data: [lokiResultsToTableModel(response.data.data.result, responseListLength, target.refId, meta, true)],
|
||||
data: [
|
||||
lokiResultsToTableModel(
|
||||
response.data.data.result,
|
||||
responseListLength,
|
||||
`${target.refId}_instant`,
|
||||
meta,
|
||||
true
|
||||
),
|
||||
],
|
||||
key: `${target.refId}_instant`,
|
||||
};
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user