@lessondesk/react-table-context
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -256,10 +256,9 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
var data = _this.state.data; | ||
_this.handleUpdate({ | ||
_this.handleUpdate(_extends({ | ||
filters: filters, | ||
unappliedFilters: filters, | ||
page: 0, | ||
data: clearData ? [] : data | ||
}); | ||
page: 0 | ||
}, clearData && { | ||
data: [] | ||
})); | ||
}; | ||
@@ -266,0 +265,0 @@ |
{ | ||
"name": "@lessondesk/react-table-context", | ||
"description": "Flexible Table Provider & Consumer", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"main": "dist/react-table-context.js", | ||
@@ -6,0 +6,0 @@ "source": "src/index.js", |
25581