Skip to content

Commit 277d8ea

Browse files
committed
oxql: log timeseries count in the right spot
1 parent d0e90ae commit 277d8ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/api/window.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ if (typeof window !== 'undefined') {
4343
query: async (q: string) => {
4444
const result = await api.methods.timeseriesQuery({ body: { query: q } })
4545
const data = handleResult(result)
46+
logHeading(data.length + ' timeseries returned')
4647
for (const table of data) {
47-
logHeading(data.length + ' timeseries returned')
4848
for (const ts of Object.values(table.timeseries)) {
4949
const fields = Object.entries(ts.fields)
5050
.map(([k, v]) => `${k}: ${v.value}`)

0 commit comments

Comments
 (0)