Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Fix issue result table in workbench not displaying values of boolean …
Browse files Browse the repository at this point in the history
…type (#891)
  • Loading branch information
chloe-zh committed Dec 4, 2020
1 parent d843d1b commit a00a73d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions workbench/public/components/QueryResults/QueryResultsBody.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,15 @@ class QueryResultsBody extends React.Component<QueryResultsBodyProps, QueryResul
};
}

if (typeof fieldValue === "boolean") {
return {
hasExpandingRow: hasExpandingRow,
value: String(fieldValue),
hasExpandingArray,
link
}
}

// Not an object or array
if (typeof fieldValue !== "object") {
return {
Expand Down

0 comments on commit a00a73d

Please sign in to comment.