diff --git a/l2-frontend/src/utils.ts b/l2-frontend/src/utils.ts index 1bf980b298..2f7a4409fa 100644 --- a/l2-frontend/src/utils.ts +++ b/l2-frontend/src/utils.ts @@ -368,7 +368,7 @@ export const convertSubjectNameToTitle = (object: any, subjectName: string | nul console.log(obj); // eslint-disable-next-line no-console console.log(subjectName); - return `${obj.SN} - ${obj.G}-${obj['СНИЛС']} ${obj.T}`; + return `${obj.SN} ${obj.G} ${obj.SNILS} ${obj.T ? obj.T : ''}`; }; export const validateEmail = (email: string) => Boolean(