diff --git a/src/queries/equipment/render.ts b/src/queries/equipment/render.ts index b10907d9..44805aa6 100644 --- a/src/queries/equipment/render.ts +++ b/src/queries/equipment/render.ts @@ -112,12 +112,12 @@ const equipmentActions = (viewModel: ViewModel) => html` const currentlyTrainedUsersTable = (viewModel: ViewModel) => pipe( viewModel.equipment.trainedMembers, - RA.map(member => member.memberNumber), - RA.map(renderMemberNumber), RA.map( - memberNumberHtml => + member => html` - ${memberNumberHtml} + ${sanitizeString(O.getOrElse(() => '')(member.name))} + ${renderMemberNumber(member.memberNumber)} + ${displayDate(DateTime.fromJSDate(member.trainedAt))} ` ), joinHtml, @@ -125,7 +125,9 @@ const currentlyTrainedUsersTable = (viewModel: ViewModel) =>

Currently Trained Users

+ + ${rows}
Name Member NumberTrained at