Skip to content

Commit

Permalink
Update fetchURL.js
Browse files Browse the repository at this point in the history
  • Loading branch information
zer0kool authored Apr 29, 2024
1 parent 9b4d72b commit e864aaa
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions fetchURL.js
Original file line number Diff line number Diff line change
Expand Up @@ -326,9 +326,10 @@ function buildURLData(labeledMetrics, siteName, network) {
}

function labelMetricData(metrics, key) {
if ("form_factors" in metrics ) {delete metrics["form_factors"]}
if (key === undefined) { key = "SUM" };
// console.log(key);
if ("form_factors" in metrics ) {delete metrics["form_factors"]}
if ("navigation_types" in metrics ) {delete metrics["navigation_types"]}
if (key === undefined) {key = "SUM"};

const nameToFullNameMap = {
first_contentful_paint: 'First Contentful Paint (FCP)',
largest_contentful_paint: 'Largest Contentful Paint (LCP)',
Expand Down

0 comments on commit e864aaa

Please sign in to comment.