From 4b5fa5ab12aa739b290ee4f60aa7bb74982a0450 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Mon, 5 Sep 2022 22:14:58 +0000 Subject: [PATCH] Fix single digit class price bug --- webclient/src/Classes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webclient/src/Classes.js b/webclient/src/Classes.js index d4c01be..648ca62 100644 --- a/webclient/src/Classes.js +++ b/webclient/src/Classes.js @@ -182,7 +182,7 @@ function NewClassTableCourse(props) { {' - '}{x.is_cancelled ? 'Cancelled' : moment.utc(x.datetime).tz('America/Edmonton').format('LT')} - {x.cost === '0.00' ? 'Free' : '$'+x.cost.slice(0,2)} + {x.cost === '0.00' ? 'Free' : '$'+x.cost.slice(0,-3)} {!!x.max_students ?