From 0ddbc659aff166a1b004d1a1e9616d7ec5c1f384 Mon Sep 17 00:00:00 2001 From: Alexey Date: Thu, 29 Jul 2021 15:17:54 +0500 Subject: [PATCH] =?UTF-8?q?=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B0=20=D0=BE=D1=80=D1=84=D0=BE=D0=B3=D1=80=D0=B0?= =?UTF-8?q?=D1=84=D0=B8=D1=87=D0=B5=D1=81=D0=BA=D0=B0=D1=8F=20=D0=BE=D1=88?= =?UTF-8?q?=D0=B8=D0=B1=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/factory.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/factory.ts b/src/components/factory.ts index 413f525..e53dbaa 100644 --- a/src/components/factory.ts +++ b/src/components/factory.ts @@ -5,7 +5,7 @@ export const makeColumn = (title:string, key:string, other?:any) => ({ ...other, }) -export const makeColumnsPlanFact = (title:string, keyPlan:string, keyFact?:string, gruopOther?:any) => +export const makeColumnsPlanFact = (title:string, keyPlan:string, keyFact?:string, groupOther?:any) => { let keyPlanLocal = keyPlan let keyFactLocal = keyFact ?? '' @@ -17,7 +17,7 @@ export const makeColumnsPlanFact = (title:string, keyPlan:string, keyFact?:strin return { title: title, - ...gruopOther, + ...groupOther, children: [ makeColumn('план', keyPlanLocal), makeColumn('факт', keyFactLocal),