Skip to content

Commit

Permalink
Fix issue result table in workbench not displaying values of boolean …
Browse files Browse the repository at this point in the history
  • Loading branch information
chloe-zh committed Dec 15, 2020
1 parent 463349f commit 411d121
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 411d121

Please sign in to comment.