vue-tables-2
Advanced tools
Comparing version 2.0.30 to 2.0.31
@@ -13,4 +13,4 @@ "use strict"; | ||
opts: this.opts(), | ||
sortable: this.sortable(this.column), | ||
"class": "VueTables__sort-icon ".concat(this.theme.right, " ").concat(this.sortableChevronClass(this.column)), | ||
sortable: this.sortable(this.column()), | ||
"class": "VueTables__sort-icon ".concat(this.theme.right, " ").concat(this.sortableChevronClass(this.column())), | ||
sortStatus: this.sortStatus, | ||
@@ -32,3 +32,3 @@ override: this.componentsOverride.sortControl | ||
var col = this.UserMultiSorting[this.OrderBy.column].filter(function (c) { | ||
return c.column === _this.column; | ||
return c.column === _this.column(); | ||
})[0]; | ||
@@ -41,3 +41,3 @@ if (col) return { | ||
if (this.column === this.OrderBy.column) { | ||
if (this.column() === this.OrderBy.column) { | ||
return { | ||
@@ -44,0 +44,0 @@ sorted: true, |
@@ -11,4 +11,8 @@ "use strict"; | ||
provide: function provide() { | ||
var _this = this; | ||
return { | ||
column: this.column | ||
column: function column() { | ||
return _this.column; | ||
} | ||
}; | ||
@@ -18,3 +22,3 @@ }, | ||
render: function render(h) { | ||
var _this = this; | ||
var _this2 = this; | ||
@@ -36,3 +40,3 @@ return this.$scopedSlots["default"]({ | ||
if (e.target.className !== "resize-handle") { | ||
_this.orderByColumn(_this.column, e); | ||
_this2.orderByColumn(_this2.column, e); | ||
} | ||
@@ -39,0 +43,0 @@ } |
{ | ||
"name": "vue-tables-2", | ||
"description": "Vue.js 2 grid components", | ||
"version": "2.0.30", | ||
"version": "2.0.31", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "vue2", |
@@ -20,3 +20,3 @@ [](https://cp.xscode.com/matfish2/vue-tables-2/) | ||
As of **version 1.6.0**, this project is licensed under the **GPLv3** license. | ||
An **MIT** licensed version is available for a one-time fee [here](https://cp.xscode.com/matfish2/vue-tables-2) | ||
An **MIT** licensed version is available for an annual subscription [here](https://cp.xscode.com/matfish2/vue-tables-2) | ||
In addition to the permissive license, paying users will enjoy **[premium features](#premium-features)** and receive **ongoing priority support** for any issue that might arise. | ||
@@ -23,0 +23,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
660940
7545