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),