Skip to content

Commit b45d0a6

Browse files
committed
Make sure right variable is referenced
1 parent fb2aa6c commit b45d0a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/rum-core/src/performance-monitoring/navigation/capture-navigation.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ function captureNavigation(transaction) {
102102
* the page load transaction, which is useful for e.g Synthetics.
103103
*/
104104

105-
if (tr.options.pageLoadParentId) {
106-
tr.parentId = tr.options.pageLoadParentId
105+
if (transaction.options.pageLoadParentId) {
106+
transaction.parentId = transaction.options.pageLoadParentId
107107
}
108108

109109
/**

0 commit comments

Comments
 (0)