Skip to content

Commit

Permalink
fix default ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
noogen committed Dec 4, 2018
1 parent 6fab9c7 commit 5852569
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope

cols.push(col);

if (col.defaultOrder) {
if (field.defaultOrder) {
orders.push([icol, col.defaultOrder]);
}

Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/VdtnetTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export default {
cols.push(col)
if (col.defaultOrder) {
if (field.defaultOrder) {
orders.push([icol, col.defaultOrder])
}
Expand Down

0 comments on commit 5852569

Please sign in to comment.