Updated group name conversion

This commit is contained in:
Nicolai Ort 2023-04-12 16:14:06 +02:00
parent 333214aa8f
commit 9111ad147c
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F

View File

@ -28,8 +28,13 @@
filterFn: `includesString`,
},
{
accessorKey: "group.name",
accessorKey: "group",
header: () => $_('group'),
cell: (info) => {
const group = info.getValue();
if(group.responseType === "RUNNERORGANIZATION"){return group.name}
return `${group.parentGroup.name} > ${group.name}`
},
filterFn: `includesString`,
},
{