react-inclusive-sortable-table
Advanced tools
Comparing version 0.1.8 to 0.1.9
@@ -296,3 +296,3 @@ import React, { Component } from 'react'; | ||
// If a custom sort method is provided for this column, use it. | ||
customSort[i] && customSort[i](a, b, sortDirection, i) || | ||
customSort && customSort[i] && customSort[i](a, b, sortDirection, i) || | ||
// Otherwise use the default sort. | ||
@@ -303,3 +303,3 @@ _this2.sort(a, b, sortDirection, i) | ||
sortedBy: i, | ||
sortDir: sortDir | ||
sortDir: sortDirection | ||
}; | ||
@@ -306,0 +306,0 @@ }); |
@@ -301,3 +301,3 @@ 'use strict'; | ||
// If a custom sort method is provided for this column, use it. | ||
customSort[i] && customSort[i](a, b, sortDirection, i) || | ||
customSort && customSort[i] && customSort[i](a, b, sortDirection, i) || | ||
// Otherwise use the default sort. | ||
@@ -308,3 +308,3 @@ _this2.sort(a, b, sortDirection, i) | ||
sortedBy: i, | ||
sortDir: sortDir | ||
sortDir: sortDirection | ||
}; | ||
@@ -311,0 +311,0 @@ }); |
{ | ||
"name": "react-inclusive-sortable-table", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"description": "An accessible, sortable table based off of Heydon Pickering's Sortable Table from Inclusive Components.", | ||
@@ -5,0 +5,0 @@ "keywords": ["accessibility", "a11y", "react", "inclusive components", "responsive", "table"], |
Sorry, the diff of this file is not supported yet
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
62138