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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "innoboxrr-vue-datatable",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "Datatable para vue3",
5
5
  "main": "index.js",
6
6
  "scripts": {
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) => {