mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Remove query empty from model
This commit is contained in:
parent
2be92af456
commit
2af78aca8e
@ -62,7 +62,6 @@ export interface LogsModel {
|
|||||||
meta?: LogsMetaItem[];
|
meta?: LogsMetaItem[];
|
||||||
rows: LogRow[];
|
rows: LogRow[];
|
||||||
series?: TimeSeries[];
|
series?: TimeSeries[];
|
||||||
queryEmpty?: boolean;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface LogsStream {
|
export interface LogsStream {
|
||||||
|
@ -162,7 +162,6 @@ export function calculateResultsFromQueryTransactions(
|
|||||||
graphInterval
|
graphInterval
|
||||||
)
|
)
|
||||||
: undefined,
|
: undefined,
|
||||||
queryEmpty: queryTransactions.filter(qt => qt.resultType === 'Logs' && qt.done).every(qt => qt.result.length === 0),
|
|
||||||
};
|
};
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
Loading…
Reference in New Issue
Block a user