vue-table2next 0.0.15 → 0.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-table2next",
3
- "version": "0.0.15",
3
+ "version": "0.0.16",
4
4
  "description": "Datatable component for Vue 2.x",
5
5
  "main": "dist/vuetable-2.js",
6
6
  "license": "MIT",
@@ -38,8 +38,8 @@ export default {
38
38
  methods: {
39
39
  columnClass (field, fieldIndex) {
40
40
  let fieldName = typeof(field.name) === "object" && field.name !== null
41
- ? field.name.name
42
- : field.name
41
+ ? field.name.__name
42
+ : field.name
43
43
  fieldName = fieldName.replace(this.fieldPrefix, "")
44
44
 
45
45
  return ['vuetable-col-'+fieldName, field.titleClass]