Commit af5dff8a by Ryan McKinley Committed by GitHub

panel Inspect: improve structure debugging (#26065)

parent 8be735a6
......@@ -74,16 +74,16 @@ export class InspectJSONTab extends PureComponent<Props, State> {
return { note: 'Missing Response Data' };
}
return this.props.data.series.map(frame => {
const fields = frame.fields.map(field => {
const { table, fields, ...rest } = frame as any; // remove 'table' from arrow response
return {
...rest,
fields: frame.fields.map(field => {
return chain(field)
.omit('values')
.omit('calcs')
.omit('state')
.omit('display')
.value();
});
return {
...frame,
fields,
}),
};
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment