Skip to content

Commit

Permalink
[Tech Debt] Fix missing text in device chart filters
Browse files Browse the repository at this point in the history
  • Loading branch information
levinmr committed Feb 25, 2025
1 parent d437379 commit a6f671a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions js/components/dashboard_content/DevicesChart.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ exports[`DeviceDemographics renders 1`] = `
<option
value="devices-current-year"
>
Current Year
Current Calendar Year
</option>
<option
value="devices-current-fiscal-year"
Expand All @@ -114,7 +114,7 @@ exports[`DeviceDemographics renders 1`] = `
<option
value="devices-previous-year"
>
Previous Year
Previous Calendar Year
</option>
<option
value="devices-previous-fiscal-year"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ exports[`DevicesChart when data is loaded renders a component with data loaded 1
<option
value="devices-current-year"
>
Current Year
Current Calendar Year
</option>
<option
value="devices-current-fiscal-year"
Expand All @@ -96,7 +96,7 @@ exports[`DevicesChart when data is loaded renders a component with data loaded 1
<option
value="devices-previous-year"
>
Previous Year
Previous Calendar Year
</option>
<option
value="devices-previous-fiscal-year"
Expand Down Expand Up @@ -338,7 +338,7 @@ exports[`DevicesChart when data is not loaded renders a component in loading sta
<option
value="devices-current-year"
>
Current Year
Current Calendar Year
</option>
<option
value="devices-current-fiscal-year"
Expand All @@ -348,7 +348,7 @@ exports[`DevicesChart when data is not loaded renders a component in loading sta
<option
value="devices-previous-year"
>
Previous Year
Previous Calendar Year
</option>
<option
value="devices-previous-fiscal-year"
Expand Down Expand Up @@ -448,7 +448,7 @@ exports[`DevicesChart when data loading has an error renders a component in erro
<option
value="devices-current-year"
>
Current Year
Current Calendar Year
</option>
<option
value="devices-current-fiscal-year"
Expand All @@ -458,7 +458,7 @@ exports[`DevicesChart when data loading has an error renders a component in erro
<option
value="devices-previous-year"
>
Previous Year
Previous Calendar Year
</option>
<option
value="devices-previous-fiscal-year"
Expand Down

0 comments on commit a6f671a

Please sign in to comment.