diff --git a/webclient/src/Classes.js b/webclient/src/Classes.js index 7bd527f..a7c624e 100644 --- a/webclient/src/Classes.js +++ b/webclient/src/Classes.js @@ -37,7 +37,7 @@ function ClassTable(props) { {x.is_cancelled ? 'Cancelled' : moment.utc(x.datetime).local().format('LT')} {x.instructor_name} {x.cost === '0.00' ? 'Free' : '$'+x.cost} - {x.student_count} {x.max_students && '/ '+x.max_students} + {x.student_count} {!!x.max_students && '/ '+x.max_students} ) : @@ -174,7 +174,7 @@ export function ClassDetail(props) { Students: - {clazz.student_count} {clazz.max_students && '/ '+clazz.max_students} + {clazz.student_count} {!!clazz.max_students && '/ '+clazz.max_students}