From a6f671a338831b6c89624ed024c2eb1e3b7b6303 Mon Sep 17 00:00:00 2001 From: Michael Levin Date: Tue, 25 Feb 2025 13:01:13 -0500 Subject: [PATCH] [Tech Debt] Fix missing text in device chart filters --- js/components/dashboard_content/DevicesChart.js | 4 ++-- .../__snapshots__/DeviceDemographics.spec.js.snap | 4 ++-- .../__snapshots__/DevicesChart.spec.js.snap | 12 ++++++------ 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/js/components/dashboard_content/DevicesChart.js b/js/components/dashboard_content/DevicesChart.js index f775ca08..aed90c71 100644 --- a/js/components/dashboard_content/DevicesChart.js +++ b/js/components/dashboard_content/DevicesChart.js @@ -24,9 +24,9 @@ function DevicesChart({ dataHrefBase }) { ["Last 7 Days", "devices-7-days"], ["Last 30 Days", "devices-30-days"], ["Last 90 Days", "devices-90-days"], - ["Current Year", "devices-current-year"], + ["Current Calendar Year", "devices-current-year"], ["Current Fiscal Year", "devices-current-fiscal-year"], - ["Previous Year", "devices-previous-year"], + ["Previous Calendar Year", "devices-previous-year"], ["Previous Fiscal Year", "devices-previous-fiscal-year"], ]; const [currentFilter, setCurrentFilter] = useState(reportFilters[0]); diff --git a/js/components/dashboard_content/__tests__/__snapshots__/DeviceDemographics.spec.js.snap b/js/components/dashboard_content/__tests__/__snapshots__/DeviceDemographics.spec.js.snap index 0e0394e4..e9847b26 100644 --- a/js/components/dashboard_content/__tests__/__snapshots__/DeviceDemographics.spec.js.snap +++ b/js/components/dashboard_content/__tests__/__snapshots__/DeviceDemographics.spec.js.snap @@ -104,7 +104,7 @@ exports[`DeviceDemographics renders 1`] = `