diff --git a/app/src/pages/inside/stepPage/stepGrid/defectType/issueList/issue/issueInfoTooltip/issueInfoTooltip.jsx b/app/src/pages/inside/stepPage/stepGrid/defectType/issueList/issue/issueInfoTooltip/issueInfoTooltip.jsx index 4af7fd0034..06c7459e0b 100644 --- a/app/src/pages/inside/stepPage/stepGrid/defectType/issueList/issue/issueInfoTooltip/issueInfoTooltip.jsx +++ b/app/src/pages/inside/stepPage/stepGrid/defectType/issueList/issue/issueInfoTooltip/issueInfoTooltip.jsx @@ -53,7 +53,7 @@ const messages = defineMessages({ }, }); -const isResolved = (status) => status.toUpperCase() === STATUS_RESOLVED; +const isResolved = (status = '') => status.toUpperCase() === STATUS_RESOLVED; const getStorageKey = (activeProject) => `${activeProject}_tickets`; const FETCH_ISSUE_INTERVAL = 900000; // min request interval = 15 min @@ -186,14 +186,18 @@ export class IssueInfoTooltip extends Component {

{formatMessage(messages.issueSummaryTitle)}

{issue.summary}

-

{formatMessage(messages.issueStatusTitle)}

-

- {issue.status} -

+ {issue.status && ( + <> +

{formatMessage(messages.issueStatusTitle)}

+

+ {issue.status} +

+ + )}
) : (