Skip to content

Commit

Permalink
Merge pull request #51 from ThirdCornerLLC/bugfix/sort-required
Browse files Browse the repository at this point in the history
Fix sort being required on tc-options
  • Loading branch information
Zacharias3690 committed Apr 21, 2016
2 parents fe76bd9 + 0925fdd commit 262c608
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tc-grid",
"version": "0.8.2",
"version": "0.8.3",
"homepage": "https://github.com/ThirdCornerLLC/tc-grid",
"authors": [
"Zach Barnes <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion dist/tc-grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@
}

function initSort() {
if (!vm.options || !vm.options.sorting.sort) {
if (!vm.options || !vm.options.sorting || !vm.options.sorting.sort) {
return;
}angular.forEach(vm.options.sorting.sort, function (sortItem) {
var col = sortItem.split(" ")[0];
Expand Down
2 changes: 1 addition & 1 deletion dist/tc-grid.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 262c608

Please sign in to comment.