From e321442a520f26d569b25bb10f8ef6e079ed7fff Mon Sep 17 00:00:00 2001 From: soulgalore Date: Mon, 27 Nov 2023 17:01:21 +0100 Subject: [PATCH] Check that we really have CPU data --- lib/plugins/html/templates/url/metrics/index.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plugins/html/templates/url/metrics/index.pug b/lib/plugins/html/templates/url/metrics/index.pug index 62e573703e..3be8986017 100644 --- a/lib/plugins/html/templates/url/metrics/index.pug +++ b/lib/plugins/html/templates/url/metrics/index.pug @@ -178,7 +178,7 @@ if browsertime td a(href=baseHelpURL + 'firstInputDelay') First Input Delay (FID) td.number #{h.time.ms(timings.firstInput.delay)} - else + else if (cpu && cpu.longTasks) tr td a(href=baseHelpURL + 'totalBlockingTime') Total Blocking Time (TBT)