diff --git a/src/main/webapp/src/pages/competition/editor/CategoryAdminContent.jsx b/src/main/webapp/src/pages/competition/editor/CategoryAdminContent.jsx index faae064..e54ad8e 100644 --- a/src/main/webapp/src/pages/competition/editor/CategoryAdminContent.jsx +++ b/src/main/webapp/src/pages/competition/editor/CategoryAdminContent.jsx @@ -38,7 +38,13 @@ export function CategoryContent({cat, catId, setCat, menuActions}) { }, [groups]); function readAndConvertMatch(matches, data, combsToAdd) { - matches.push({...data, c1: data.c1?.id, c2: data.c2?.id}) + matches.push({ + ...data, + c1: data.c1?.id, + c2: data.c2?.id, + c1_cacheName: data.c1?.fname + " " + data.c1?.lname, + c2_cacheName: data.c2?.fname + " " + data.c2?.lname + }) if (data.c1) combsToAdd.push(data.c1) if (data.c2) diff --git a/src/main/webapp/src/pages/competition/editor/SelectCombModalContent.jsx b/src/main/webapp/src/pages/competition/editor/SelectCombModalContent.jsx index 2977c26..0240fe3 100644 --- a/src/main/webapp/src/pages/competition/editor/SelectCombModalContent.jsx +++ b/src/main/webapp/src/pages/competition/editor/SelectCombModalContent.jsx @@ -243,7 +243,7 @@ export function SelectCombModalContent({data, setGroups}) {