[APM] Fix transaction sample on error page (#34048)

This commit is contained in:
Søren Louv-Jansen 2019-03-29 09:06:12 +01:00 committed by GitHub
parent 2489180999
commit 979c8a750c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,7 @@ function TransactionLink({
return <Fragment>{NOT_AVAILABLE_LABEL}</Fragment>;
}
const isSampled = transaction.sampled;
const isSampled = transaction.transaction.sampled;
if (!isSampled) {
return <Fragment>{transaction.transaction.id}</Fragment>;
}