Skip to content

Commit

Permalink
Loccus enhancements (#533)
Browse files Browse the repository at this point in the history
* Added missing controller + fixed warning
  • Loading branch information
Sallaa authored Jun 12, 2024
1 parent 9a6f85c commit eb7791d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/NavItems/tools/Loccus/loccusResults.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import {
Chart as ChartJS,
Legend,
LinearScale,
LineController,
LineElement,
PointElement,
TimeSeriesScale,
Expand Down Expand Up @@ -79,6 +80,7 @@ const LoccusResults = (props) => {
CategoryScale,
LinearScale,
PointElement,
LineController,
LineElement,
Title,
Tooltip,
Expand Down Expand Up @@ -129,7 +131,7 @@ const LoccusResults = (props) => {
return printDurationInMinutesWithoutModulo(val);
},
},
reverse: isCurrentLanguageLeftToRight ? false : true,
reverse: !isCurrentLanguageLeftToRight,
},
y: {
beginAtZero: true,
Expand Down

0 comments on commit eb7791d

Please sign in to comment.