Update Changelog

This commit is contained in:
Tanner Linsley
2019-12-17 19:32:07 -07:00
parent f2776d0005
commit eeee14830d
3 changed files with 16 additions and 10 deletions
+6 -6
View File
@@ -1,13 +1,13 @@
{
"dist/index.js": {
"bundled": 104720,
"minified": 48438,
"gzipped": 13005
"bundled": 104748,
"minified": 48453,
"gzipped": 13021
},
"dist/index.es.js": {
"bundled": 103833,
"minified": 47648,
"gzipped": 12849,
"bundled": 103861,
"minified": 47663,
"gzipped": 12865,
"treeshaked": {
"rollup": {
"code": 80,
+4
View File
@@ -1,3 +1,7 @@
## 7.0.0-rc.11
- Fixed an issue where plugins using the `columns` hook were not getting decorated properly
## 7.0.0-rc.10
- Optimizations made to make accessors, prop getters and other internals much faster. 10x in some cases!
+6 -4
View File
@@ -126,16 +126,16 @@ function reducer(state, action, previousState, instance) {
return state
}
let newSelectedRowPaths = { ...state.selectedRowIds }
let newSelectedRowIds = { ...state.selectedRowIds }
const handleRowById = id => {
const row = flatGroupedRowsById[id]
if (!row.isGrouped) {
if (!isSelected && shouldExist) {
newSelectedRowPaths[id] = true
newSelectedRowIds[id] = true
} else if (isSelected && !shouldExist) {
delete newSelectedRowPaths[id]
delete newSelectedRowIds[id]
}
}
@@ -146,9 +146,11 @@ function reducer(state, action, previousState, instance) {
handleRowById(id)
console.log(newSelectedRowIds)
return {
...state,
selectedRowIds: newSelectedRowPaths,
selectedRowIds: newSelectedRowIds,
}
}
}