Skip to content
This repository was archived by the owner on Jan 15, 2022. It is now read-only.

use parameter props instead of property props #247

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions build/reactable.js
Original file line number Diff line number Diff line change
Expand Up @@ -1136,11 +1136,11 @@ window.ReactDOM["default"] = window.ReactDOM;
}
}, {
key: 'initializeSorts',
value: function initializeSorts() {
value: function initializeSorts(props) {
this._sortable = {};
// Transform sortable properties into a more friendly list
for (var i in this.props.sortable) {
var column = this.props.sortable[i];
for (var i in props.sortable) {
var column = props.sortable[i];
var columnName = undefined,
sortFunction = undefined;

Expand Down
Loading