mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
TableData: support name (#16983)
This commit is contained in:
@@ -70,6 +70,7 @@ export interface Column {
|
||||
}
|
||||
|
||||
export interface TableData extends QueryResultBase {
|
||||
name?: string;
|
||||
columns: Column[];
|
||||
rows: any[][];
|
||||
}
|
||||
|
||||
@@ -19,6 +19,7 @@ function convertTableToSeriesData(table: TableData): SeriesData {
|
||||
rows: table.rows,
|
||||
refId: table.refId,
|
||||
meta: table.meta,
|
||||
name: table.name,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user