adminforth 1.1.45 → 1.1.46

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/dist/index.js CHANGED
@@ -1018,7 +1018,6 @@ class AdminForth {
1018
1018
  }
1019
1019
  }
1020
1020
  }
1021
- console.log('✅ newValues', newValues);
1022
1021
  if (Object.keys(newValues).length > 0) {
1023
1022
  yield connector.updateRecord({ resource, recordId, record, newValues });
1024
1023
  }
@@ -18,9 +18,8 @@
18
18
  <span v-else-if="column.enum">
19
19
  {{ checkEmptyValues(column.enum.find(e => e.value === record[column.name])?.label,route.meta.type) }}
20
20
  </span>
21
- <span v-else-if="column.type === 'datetime'">
21
+ <span v-else-if="column.type === 'datetime'" class="whitespace-nowrap">
22
22
  {{ checkEmptyValues(formatDate(record[column.name]),route.meta.type) }}
23
-
24
23
  </span>
25
24
  <span v-else>
26
25
  {{ checkEmptyValues(record[column.name],route.meta.type) }}
package/index.ts CHANGED
@@ -1162,7 +1162,6 @@ class AdminForth implements AdminForthClass {
1162
1162
  }
1163
1163
  }
1164
1164
 
1165
- console.log('✅ newValues', newValues)
1166
1165
  if (Object.keys(newValues).length > 0) {
1167
1166
  await connector.updateRecord({ resource, recordId, record, newValues});
1168
1167
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "1.1.45",
3
+ "version": "1.1.46",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -18,9 +18,8 @@
18
18
  <span v-else-if="column.enum">
19
19
  {{ checkEmptyValues(column.enum.find(e => e.value === record[column.name])?.label,route.meta.type) }}
20
20
  </span>
21
- <span v-else-if="column.type === 'datetime'">
21
+ <span v-else-if="column.type === 'datetime'" class="whitespace-nowrap">
22
22
  {{ checkEmptyValues(formatDate(record[column.name]),route.meta.type) }}
23
-
24
23
  </span>
25
24
  <span v-else>
26
25
  {{ checkEmptyValues(record[column.name],route.meta.type) }}