From 8f24fbe120815cbb76d344bd890ae93e0c21ea12 Mon Sep 17 00:00:00 2001 From: Benjamin Van Renterghem Date: Thu, 21 Nov 2019 20:40:57 +0100 Subject: [PATCH] Show text if student is not confirmed --- src/components/students/StudentsTable.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/students/StudentsTable.tsx b/src/components/students/StudentsTable.tsx index 7dc0534..29a7492 100644 --- a/src/components/students/StudentsTable.tsx +++ b/src/components/students/StudentsTable.tsx @@ -268,7 +268,7 @@ class StudentsTable extends React.Component (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"),