You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** Gets a column properties object from an array of columnNames
@@ -7,37 +8,36 @@ function getColumnPropertiesFromColumnArray(columnProperties, columns) {
7
8
returncolumns.reduce((previous,current,i)=>{
8
9
previous[current]={id: current,order: offset+i};
9
10
returnprevious;
10
-
},
11
-
columnProperties);
11
+
},columnProperties);
12
12
}
13
13
14
14
/** Gets the column properties object from a react component (rowProperties) that contains child component(s) for columnProperties.
15
15
* If no properties are found, it will work return a column properties object based on the all columns array
16
16
* @param {Object} rowProperties - An React component that contains the rowProperties and child columnProperties components
17
17
* @param {Array<string> optional} allColumns - An optional array of colummn names. This will be used to generate the columnProperties when they are not defined in rowProperties
0 commit comments