innoboxrr-vue-datatable 1.3.1 → 1.3.2
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 +1 -1
- package/src/DataTable.vue +4 -0
package/package.json
CHANGED
package/src/DataTable.vue
CHANGED
|
@@ -230,6 +230,10 @@
|
|
|
230
230
|
return cols;
|
|
231
231
|
},
|
|
232
232
|
registerComponents() {
|
|
233
|
+
if (this.model.dataTableComponents === undefined || typeof this.model.dataTableComponents !== 'function') {
|
|
234
|
+
return {};
|
|
235
|
+
}
|
|
236
|
+
|
|
233
237
|
// Usar `markRaw` para cada componente
|
|
234
238
|
let components = Object.keys(this.model.dataTableComponents())
|
|
235
239
|
.reduce((acc, key) => {
|