innoboxrr-vue-datatable 1.2.19 → 1.2.21

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.2.19",
3
+ "version": "1.2.21",
4
4
  "description": "Datatable para vue3",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
 
3
- <div class="relative sm:rounded-lg overflow-x-auto">
3
+ <div class="sm:rounded-lg overflow-x-auto">
4
4
 
5
5
  <table class="min-w-full w-full text-sm text-left text-slate-500 dark:text-slate-400 p-4 ">
6
6
 
@@ -197,7 +197,7 @@
197
197
 
198
198
  setData(head, body) {
199
199
 
200
- return (typeof head.parser === 'function') ? head.parser(body[head.id]) : body[head.id]
200
+ return (typeof head.parser === 'function') ? head.parser(body[head.id], body) : body[head.id]
201
201
 
202
202
  },
203
203