From ed2b7f03ab7be85e7d836aab248be658e2a565c3 Mon Sep 17 00:00:00 2001 From: ssb-jnk Date: Mon, 25 Mar 2024 15:30:47 +0100 Subject: [PATCH] change column name of data_admin --- src/pages/TeamMembers/TeamMembers.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/TeamMembers/TeamMembers.tsx b/src/pages/TeamMembers/TeamMembers.tsx index b37d2769..faa81ec5 100644 --- a/src/pages/TeamMembers/TeamMembers.tsx +++ b/src/pages/TeamMembers/TeamMembers.tsx @@ -46,7 +46,7 @@ const TeamMembers = () => { ), team: teams.length, epost: principal_name, - data_admins: groups.filter((group) => group.uniform_name.endsWith('data-admins')).length, + data_admin: groups.filter((group) => group.uniform_name.endsWith('data-admins')).length, seksjon: section_name, // Makes section name searchable and sortable in table by including the field seksjonsleder: formatDisplayName( section_manager && section_manager.length > 0 @@ -113,8 +113,8 @@ const TeamMembers = () => { label: 'Team', }, { - id: 'data_admins', - label: 'Som data-admin', + id: 'data_admin', + label: 'Data-admin roller', }, { id: 'seksjonsleder',