From 314607b4cb30f2fb80a98a1ed62e0ea252d793ec Mon Sep 17 00:00:00 2001 From: Peter Hedenskog Date: Sun, 1 May 2022 21:40:52 +0200 Subject: [PATCH] Check if the user uses --firstParty. (#3643) This catches if the user use --firstParty but actually do not match any requests. https://github.com/sitespeedio/sitespeed.io/issues/3642 --- lib/plugins/html/templates/url/thirdparty/index.pug | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/plugins/html/templates/url/thirdparty/index.pug b/lib/plugins/html/templates/url/thirdparty/index.pug index f4337be15..812299b5c 100644 --- a/lib/plugins/html/templates/url/thirdparty/index.pug +++ b/lib/plugins/html/templates/url/thirdparty/index.pug @@ -14,7 +14,7 @@ small if pagexray.cookieNamesThirdParties.length > 0 a(href='#third-party-cookies') Cookies | |  |  - if pagexray.firstParty.requests + if pagexray.firstParty.requests || options.firstParty a(href='#first-vs-third') First vs third |  |  a#third-party @@ -87,5 +87,5 @@ if thirdparty.possibileMissedThirdPartyDomains && thirdparty.possibileMissedThi include ./thirdPartyCookies.pug -if pagexray.firstParty.requests +if pagexray.firstParty.requests || options.firstParty include ./firstParty.pug