adminforth 2.17.0-next.5 → 2.17.0-next.7

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.
@@ -22,4 +22,19 @@ const htmlContent = protectAgainstXSS(props.record[props.column.name])
22
22
  /* You can add default styles here if needed */
23
23
  word-break: break-word;
24
24
  }
25
+ .rich-text :deep(table) {
26
+ border-collapse: collapse;
27
+ border: 1px solid #ddd;
28
+ }
29
+
30
+ .rich-text :deep(table th),
31
+ .rich-text :deep(table td) {
32
+ border: 1px solid #ddd;
33
+ padding: 8px;
34
+ }
35
+
36
+ .rich-text :deep(table th) {
37
+ background-color: #f5f5f5;
38
+ font-weight: 600;
39
+ }
25
40
  </style>
@@ -468,7 +468,7 @@ export function checkShowIf(c: AdminForthResourceColumnInputCommon, record: Reco
468
468
  const fieldEntries = Object.entries(predicate).filter(([key]) => !key.startsWith('$'));
469
469
  if (fieldEntries.length > 0) {
470
470
  const fieldResult = fieldEntries.every(([field, condition]) => {
471
- const recordValue = record[field];
471
+ const recordValue = recordCopy[field];
472
472
 
473
473
  if (condition === undefined) {
474
474
  return true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "2.17.0-next.5",
3
+ "version": "2.17.0-next.7",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",