mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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:
parent
79cccaf61f
commit
94fe31e5b3
@ -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 } },
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user