Skip to content

Commit

Permalink
extra check that we get third party data
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore committed Jun 20, 2019
1 parent 9d6fada commit 56f63da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plugins/html/templates/url/cpu/index.pug
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ if browsertime && browsertime.cpu && browsertime.cpu.urls && browsertime.cpu.url
if pageInfo.data.thirdparty
- const thirdparty = medianRun ? pageInfo.data.thirdparty.pageSummary.runs[medianRun.runIndex - 1] : pageInfo.data.thirdparty.run

if thirdparty.cpuPerTool && Object.keys(thirdparty.cpuPerTool).length > 0
if thirdparty && thirdparty.cpuPerTool && Object.keys(thirdparty.cpuPerTool).length > 0
h3 CPU time spent
table
tr
Expand Down

0 comments on commit 56f63da

Please sign in to comment.