Skip to content

Commit

Permalink
QOL
Browse files Browse the repository at this point in the history
  • Loading branch information
WhyAsh5114 committed Jun 22, 2024
1 parent 7993aec commit 62e05f6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import Checkbox from '$lib/components/ui/checkbox/checkbox.svelte';
import ScrollArea from '$lib/components/ui/scroll-area/scroll-area.svelte';
import * as Table from '$lib/components/ui/table';
import { convertCamelCaseToNormal } from '$lib/utils';
import type { MesocycleCyclicSetChange } from '@prisma/client';
type PropsType = { cyclicSetChanges: MesocycleCyclicSetChange[] };
Expand All @@ -22,7 +23,7 @@
{#each cyclicSetChanges as setChange}
<Table.Row>
<Table.Cell class="font-medium">
{setChange.customMuscleGroup ?? setChange.muscleGroup}
{convertCamelCaseToNormal(setChange.customMuscleGroup ?? setChange.muscleGroup)}
</Table.Cell>
<Table.Cell>{setChange.maxVolume}</Table.Cell>
<Table.Cell>{setChange.setIncreaseAmount}</Table.Cell>
Expand Down

0 comments on commit 62e05f6

Please sign in to comment.