mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-12 12:46:23 +01: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
@ -24,7 +24,7 @@ const TableView: FC<GraphViewProps> = ({data}) => {
|
||||
const rows: InstantDataSeries[] = useMemo(() => {
|
||||
return data?.map(d => ({
|
||||
metadata: sortedColumns.map(c => d.metric[c.key] || "-"),
|
||||
value: d.value[1]
|
||||
value: d.value ? d.value[1] : "-"
|
||||
}));
|
||||
}, [sortedColumns, data]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user