Skip to content

Commit

Permalink
render most recent mode/modality on graph
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacobjeevan committed Oct 18, 2024
1 parent b21a3ed commit 292cbd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/Facility/Consultations/VentilatorPlot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export const VentilatorPlot = ({
const getMarkLineData = (name: string) => {
const markLineData = [];
if (!dailyRoundsList) return [];
for (let index = 0; index < dailyRoundsList.length - 1; index++) {
for (let index = 0; index < dailyRoundsList.length; index++) {
const currentRound = dailyRoundsList[index];
const { condition, legend } = getConditionAndLegend(name, currentRound);
const currentInterfaceOrModality = getModeOrModality(currentRound);
Expand Down

0 comments on commit 292cbd2

Please sign in to comment.