Skip to content

Commit

Permalink
fix(issues): Show empty key in request body (#82066)
Browse files Browse the repository at this point in the history
Show empty keys in issue details request body dictionary
  • Loading branch information
jangjodi authored and evanh committed Dec 17, 2024
1 parent 3a4ab44 commit 94862ef
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ export function RecursiveStructuredData({
withOnlyFormattedText = false,
}: Props) {
let i = 0;

const formattedObjectKey = objectKey ? (
<Fragment>
<ValueObjectKey>
{config?.renderObjectKeys?.(objectKey) ?? objectKey}
</ValueObjectKey>
<span>{': '}</span>
</Fragment>
) : null;
const formattedObjectKey =
objectKey !== undefined ? (
<Fragment>
<ValueObjectKey>
{config?.renderObjectKeys?.(objectKey) ?? objectKey}
</ValueObjectKey>
<span>{': '}</span>
</Fragment>
) : null;

function Wrapper({children}: {children: React.ReactNode}) {
return (
Expand Down

0 comments on commit 94862ef

Please sign in to comment.