@lessondesk/react-table-context
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -331,2 +331,3 @@ var React = require('react'); | ||
filters: filters, | ||
unappliedFilters: filters, | ||
selected: selected, | ||
@@ -385,2 +386,3 @@ expanded: expanded | ||
filters: {}, | ||
unappliedFilters: {}, | ||
selected: [], | ||
@@ -387,0 +389,0 @@ expanded: [], |
{ | ||
"name": "@lessondesk/react-table-context", | ||
"description": "Flexible Table Provider & Consumer", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"main": "dist/react-table-context.js", | ||
@@ -6,0 +6,0 @@ "source": "src/index.js", |
@@ -48,2 +48,3 @@ import React, { createContext, Component } from 'react' | ||
filters: {}, | ||
unappliedFilters: {}, | ||
selected: [], | ||
@@ -56,3 +57,9 @@ expanded: [], | ||
const { pageSize, filters, selected, expanded } = this.props | ||
this.handleUpdate({ pageSize, filters, selected, expanded }) | ||
this.handleUpdate({ | ||
pageSize, | ||
filters, | ||
unappliedFilters: filters, | ||
selected, | ||
expanded | ||
}) | ||
} | ||
@@ -59,0 +66,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44691
651