vue-tables-2
Advanced tools
Comparing version 0.2.77 to 0.2.78
@@ -32,6 +32,5 @@ module.exports = { | ||
toggleChildRow: require('../methods/toggle-child-row'), | ||
childRowTogglerClass: require('../methods/child-row-toggler-class'), | ||
childRowClass: require('../methods/child-row-class') | ||
childRowTogglerClass: require('../methods/child-row-toggler-class') | ||
} | ||
@@ -24,3 +24,3 @@ module.exports = function(h, that) { | ||
if (that.opts.childRow) { | ||
if (that.opts.childRow && this.rowsToggleState['row_' + row[rowKey]]) { | ||
let childRow = that.opts.childRow; | ||
@@ -34,3 +34,3 @@ let template = typeof childRow==='function'? | ||
}); | ||
rows.push(<tr class={`VueTables__child-row ` + that.childRowClass(row[rowKey])}><td colspan={that.allColumns.length+1}>{template}</td></tr>); | ||
rows.push(<tr class='VueTables__child-row'><td colspan={that.allColumns.length+1}>{template}</td></tr>); | ||
} | ||
@@ -37,0 +37,0 @@ |
{ | ||
"name": "vue-tables-2", | ||
"description": "Vue.js 2 grid components", | ||
"version": "0.2.77", | ||
"version": "0.2.78", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "vue2", |
@@ -258,6 +258,2 @@ # Vue Tables 2 | ||
} | ||
.VueTables__child-row--closed { | ||
display: none; | ||
} | ||
``` | ||
@@ -264,0 +260,0 @@ |
58074
95
1444
377