mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-10 15:14:09 +00:00
vmui: handle an error in a table with subqueries (#1854)
* fix: handle an error in a table with subqueries
* feat: store display type in URL
* Revert "feat: store display type in URL"
This reverts commit ccc242c69a
.
This commit is contained in:
parent
e4c329f5a8
commit
0108c9d2cc
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ const TableView: FC<GraphViewProps> = ({data}) => {
|
||||||
const rows: InstantDataSeries[] = useMemo(() => {
|
const rows: InstantDataSeries[] = useMemo(() => {
|
||||||
return data?.map(d => ({
|
return data?.map(d => ({
|
||||||
metadata: sortedColumns.map(c => d.metric[c.key] || "-"),
|
metadata: sortedColumns.map(c => d.metric[c.key] || "-"),
|
||||||
value: d.value[1]
|
value: d.value ? d.value[1] : "-"
|
||||||
}));
|
}));
|
||||||
}, [sortedColumns, data]);
|
}, [sortedColumns, data]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue