WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions app/client/src/pages/Editor/QueryEditor/QueryDebuggerTabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ const parseResponseBody = (body: any): any[] => {
return parsedOutput;
} else if (parsedOutput.records && Array.isArray(parsedOutput.records)) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can remove else from the line 69 also

return parsedOutput.records;
} else {
return [parsedOutput];
}
}
return [parsedOutput];

};

function QueryDebuggerTabs({
Expand Down