Skip to content

Commit 50b407b

Browse files
committed
fix: export user table
1 parent 093e298 commit 50b407b

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.DS_Store

0 Bytes
Binary file not shown.

frontend/src/components/pages/admission.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,8 @@ export const Admission = () => {
683683

684684
const exportToCsv = () => {
685685
const header = [
686-
"Name",
686+
"FirstName",
687+
"LastName",
687688
"Email",
688689
"Admitted",
689690
"Confirmed",
@@ -715,6 +716,8 @@ export const Admission = () => {
715716

716717
const rows = applicationsSortedByDate.map((application, index) => {
717718
return [
719+
application.user.firstName,
720+
application.user.lastName,
718721
application.user.id,
719722
application.user.email,
720723
application.user.admitted,

0 commit comments

Comments
 (0)