diff --git a/app/src/components/HistoryTable.tsx b/app/src/components/HistoryTable.tsx index 36855b3..484d992 100644 --- a/app/src/components/HistoryTable.tsx +++ b/app/src/components/HistoryTable.tsx @@ -158,13 +158,6 @@ export default function HistoryTable({ const exExtra = ex.sets.filter( (set) => set.planned == null && set.reps != null, ).length; - const exVolume = ex.sets.reduce( - (sum, set) => - set.reps != null - ? sum + (set.planned?.loadKg ?? s.bodyKg ?? 0) * set.reps - : sum, - 0, - ); // komentarze serii: wskaznik, by trener nie musial otwierac dialogu const exNotes = ex.sets.filter((set) => set.note).length; return ( @@ -200,9 +193,6 @@ export default function HistoryTable({ {t('history.bonusValue', { n: exExtra })} )} - {exVolume > 0 && ( - {fmtVolume(exVolume)} - )} {exNotes > 0 && ( { - it('dialog ćwiczenia informuje o masie ciała, objętość liczy bodyKg z profilu', async () => { + it('dialog ćwiczenia informuje o masie ciała, objętość sesji liczy bodyKg z profilu', async () => { const user = userEvent.setup(); render(); // linia planu przeniesiona do dialogu ćwiczenia (master/detail)