Skip to content

Commit

Permalink
Show text if student is not confirmed
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Van Renterghem committed Nov 21, 2019
1 parent 7263337 commit 8f24fbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/students/StudentsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ class StudentsTable extends React.Component<IStudentsTableProps, IStudentTableSt
{
title: "Bevestigd",
key: "isConfirmed",
render: (record: Student) => (record.isConfirmed ? "Ja" : ""),
render: (record: Student) => (record.isConfirmed ? "Ja" : "Nee"),
filters: [{ text: "Bevestigd", value: "1" }, { text: "Niet bevestigd", value: "0" }],
onFilter: (value, record: Student) =>
exactMatchOrDefaultOptionFilter(value, record.isConfirmed ? "1" : "0"),
Expand Down

0 comments on commit 8f24fbe

Please sign in to comment.