Skip to content

Commit dc8a81f

Browse files
committed
fix type check
1 parent 52a2a7e commit dc8a81f

File tree

1 file changed

+1
-1
lines changed
  • packages/jsonforms-vuetify-renderers/src/util

1 file changed

+1
-1
lines changed

packages/jsonforms-vuetify-renderers/src/util/util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export const parseAndTransformUISchemaRegistryEntries = (
8686

8787
return uischemasMap
8888
.map((elem, index) => {
89-
if (elem.tester) {
89+
if (typeof elem.tester === 'string') {
9090
const action: UISchemaTester = (jsonSchema, schemaPath, path) => {
9191
try {
9292
const tester = new Function(

0 commit comments

Comments
 (0)