UX: Fix report color duplication (#26799)

In the "Consolidated Pageviews with Browser Detection (Experimental)"
report we used the same color for "Known Crawler" and "Other pageviews"
which makes the report confusing to look at, this commit makes them
different.
This commit is contained in:
Martin Brennan 2024-04-29 15:12:47 +10:00 committed by GitHub
parent 79cccaf61f
commit 94fe31e5b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -60,7 +60,7 @@ module Reports::ConsolidatedPageViewsBrowserDetection
req: "page_view_crawler",
label:
I18n.t("reports.consolidated_page_views_browser_detection.xaxis.page_view_crawler"),
color: report.colors[2],
color: report.colors[3],
data: data.map { |row| { x: row.date, y: row.page_view_crawler } },
},
{