Skip to content
Snippets Groups Projects
Unverified Commit 93a6ebc8 authored by Claire's avatar Claire Committed by GitHub
Browse files

Fix WebUI crash when listing server blocks and rationale is not available (#20408)

Regression from #20391

Fixes #20405
parent 96f51e59
No related branches found
No related tags found
No related merge requests found
......@@ -191,7 +191,7 @@ class About extends React.PureComponent {
<span className='about__domain-blocks__domain__type' title={intl.formatMessage(severityMessages[block.get('severity')].explanation)}>{intl.formatMessage(severityMessages[block.get('severity')].title)}</span>
</div>
<p>{block.get('comment').length > 0 ? block.get('comment') : <FormattedMessage id='about.domain_blocks.no_reason_available' defaultMessage='Reason not available' />}</p>
<p>{(block.get('comment') || '').length > 0 ? block.get('comment') : <FormattedMessage id='about.domain_blocks.no_reason_available' defaultMessage='Reason not available' />}</p>
</div>
))}
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment