From 9206380270f865680e762a4d6c4782b67e8e7e27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Heli=20H=C3=A5rd=20K=C3=A4lloff?= Date: Fri, 20 Dec 2024 13:23:48 +0100 Subject: [PATCH] add gender field to selectedColumns when selected --- src/features/import/hooks/useColumn.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/features/import/hooks/useColumn.ts b/src/features/import/hooks/useColumn.ts index 16c9302d1..da998bcc7 100644 --- a/src/features/import/hooks/useColumn.ts +++ b/src/features/import/hooks/useColumn.ts @@ -44,6 +44,10 @@ export default function useColumn(orgId: number) { return column.field == value.slice(6); } + if (column.kind == ColumnKind.GENDER) { + return column.field == value; + } + if (column.kind == ColumnKind.DATE) { return column.field == value.slice(5); }