adminforth 2.17.0-next.5 → 2.17.0-next.6
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/spa/src/utils.ts +1 -1
- package/package.json +1 -1
package/dist/spa/src/utils.ts
CHANGED
|
@@ -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 =
|
|
471
|
+
const recordValue = recordCopy[field];
|
|
472
472
|
|
|
473
473
|
if (condition === undefined) {
|
|
474
474
|
return true;
|