Skip to content

Commit

Permalink
feat: WEB-2187 fix null string Jira Macro
Browse files Browse the repository at this point in the history
  • Loading branch information
krystiankedra authored Aug 14, 2024
2 parents 756de4f + adf112f commit 5a9eb29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/proxy-page/dto/FieldInterface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ export const formatString = (string) => {
text: getAllValues(subItem, isStringContent, 'text').join(' '),
type: subItem.type,
}));
return [[mappedResult[0].text ?? ''], 'normal'];
return [[mappedResult[0]?.text ?? ''], 'normal'];
} if (string) {
return [[string], 'normal'];
}
Expand Down

0 comments on commit 5a9eb29

Please sign in to comment.