diff --git a/webclient/src/Classes.js b/webclient/src/Classes.js index 57d702a..13aff8c 100644 --- a/webclient/src/Classes.js +++ b/webclient/src/Classes.js @@ -86,7 +86,7 @@ function NewClassTable(props) { <>
{sortedClasses.map(x => - +
{x.course.name} @@ -99,12 +99,10 @@ function NewClassTable(props) { )} - Date - Time Cost Students @@ -115,15 +113,12 @@ function NewClassTable(props) { -  {moment.utc(x.datetime).tz('America/Edmonton').format('MMM Do')} + {moment.utc(x.datetime).tz('America/Edmonton').format(' MMM Do')} + {' - '}{x.is_cancelled ? 'Cancelled' : moment.utc(x.datetime).tz('America/Edmonton').format('LT')} - - {x.is_cancelled ? 'Cancelled' : moment.utc(x.datetime).tz('America/Edmonton').format('LT')} - - - {x.cost === '0.00' ? 'Free' : '$'+x.cost} + {x.cost === '0.00' ? 'Free' : '$'+x.cost.slice(0,2)} {!!x.max_students ? @@ -208,8 +203,6 @@ export function Classes(props) { const byDate = (a, b) => a.datetime > b.datetime ? 1 : -1; const byTag = (x) => tagFilter ? x.course_data.tags.includes(tagFilter) : true; - console.log(tagFilter); - return (
Class List