Skip to content

Commit c4df4ee

Browse files
Merge pull request #392 from RedisInsight/feature/bugfix
#RI-2550 - Application is brocken when user opens JSON with null value in key
2 parents dca2b30 + 98134bb commit c4df4ee

File tree

1 file changed

+0
-3
lines changed
  • redisinsight/ui/src/pages/browser/components/rejson-details/JSONObject

1 file changed

+0
-3
lines changed

redisinsight/ui/src/pages/browser/components/rejson-details/JSONObject/JSONObject.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -546,9 +546,6 @@ class JSONObject extends React.Component<Props, State> {
546546

547547
return keys.map((key: string) => {
548548
if (isScalar(data[key] as JSONScalarValue) || data[key] === null) {
549-
if (data[key] === null) {
550-
data[key] = JSON.stringify(data[key])
551-
}
552549
return (
553550
<JSONScalar
554551
resultTableKeyMap={resultTableKeyMap}

0 commit comments

Comments
 (0)