Fix single digit class price bug

This commit is contained in:
Tanner Collin 2022-09-05 22:14:58 +00:00
parent 1ecea894d3
commit 4b5fa5ab12

View File

@ -182,7 +182,7 @@ function NewClassTableCourse(props) {
{' - '}{x.is_cancelled ? 'Cancelled' : moment.utc(x.datetime).tz('America/Edmonton').format('LT')}
</Table.Cell>
<Table.Cell>{x.cost === '0.00' ? 'Free' : '$'+x.cost.slice(0,2)}</Table.Cell>
<Table.Cell>{x.cost === '0.00' ? 'Free' : '$'+x.cost.slice(0,-3)}</Table.Cell>
<Table.Cell>
{!!x.max_students ?