fix(ui): null deref (#13696)

This commit is contained in:
Aseem Bansal 2025-06-05 22:07:08 +05:30 committed by GitHub
parent 0e2a79665a
commit 81a510aff6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -214,7 +214,7 @@ export const AssertionResultPopoverContent = ({
<a href={result.externalUrl} target="_blank" rel="noopener noreferrer">
View results in{' '}
{assertion.platform?.name &&
assertion.platform?.name.toLowerCase() !== 'unknown'
assertion.platform?.name?.toLowerCase() !== 'unknown'
? assertion.platform?.name
: 'source system.'}
</a>