easycomponentstools 1.0.0-dev.11 → 1.0.0-dev.12

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,7 +1,7 @@
1
1
  {
2
2
  "name": "easycomponentstools",
3
3
  "private": false,
4
- "version": "1.0.0-dev.11",
4
+ "version": "1.0.0-dev.12",
5
5
  "type": "module",
6
6
  "description": "Easy Vue Components",
7
7
  "keywords": [
@@ -46,14 +46,13 @@ export default function useDataTableExport() {
46
46
  if (!response.ok) {
47
47
  throw new Error(`Error: ${response.status}`)
48
48
  }
49
- const data = response.json()
49
+ const data = await response.json()
50
50
  allPrintableItems.value = 'data' in data ? data.data : data
51
51
  } catch (e) {
52
52
  console.error('Failed Export Error', e)
53
53
  }
54
54
  }
55
55
  const prepareExport = () => {
56
- console.log(allPrintableItems.value)
57
56
  allPrintableItems.value.map((item: any, index: number) => {
58
57
  for (const headKey in headers.value) {
59
58
  if (