From 30fc26b37425a843e22a4e4cff59d1460c41688e Mon Sep 17 00:00:00 2001 From: Sergei Kasianenko Date: Mon, 11 Sep 2023 20:34:42 +0800 Subject: [PATCH] =?UTF-8?q?=D0=BE=D1=82=D0=BE=D0=B1=D1=80=D0=B0=D0=B6?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=81=D0=B5=D1=80=D1=82=D0=B8=D1=84?= =?UTF-8?q?=D0=B8=D0=BA=D0=B0=D1=82=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- l2-frontend/src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(