From c9f6cb8c846998419c11393d1fcfc75efc64b95f Mon Sep 17 00:00:00 2001 From: Johnny Niklasson Date: Tue, 5 Mar 2024 06:34:50 +0100 Subject: [PATCH] Make principle_name searchable in table (#75) --- src/pages/TeamMembers/TeamMembers.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/TeamMembers/TeamMembers.tsx b/src/pages/TeamMembers/TeamMembers.tsx index e76bf37b..15cdb311 100644 --- a/src/pages/TeamMembers/TeamMembers.tsx +++ b/src/pages/TeamMembers/TeamMembers.tsx @@ -35,6 +35,7 @@ const TeamMembers = () => { id: formatDisplayName(teamMember.display_name), navn: renderUserNameColumn(teamMember), team: teamMember.teams.length, + epost: teamMember.principal_name, data_admin_roller: teamMember.groups.filter((group) => group.uniform_name.endsWith('data-admins')).length, seksjon: teamMember.section_name, // Makes section name searchable and sortable in table by including the field seksjonsleder: formatDisplayName(