fix: assocition select rendering error in create mode (#2880)
This commit is contained in:
parent
7e33912242
commit
b587560a10
@ -32,7 +32,7 @@ export const filterAnalyses = (filters): any[] => {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
const regex = /\{\{\$(?:[a-zA-Z_]\w*)\.([a-zA-Z_]\w*)(?:\.id)?\}\}/;
|
const regex = /\{\{\$(?:[a-zA-Z_]\w*)\.([a-zA-Z_]\w*)(?:\.id)?\}\}/;
|
||||||
const fieldName = jsonlogic?.value.match?.(regex)?.[1];
|
const fieldName = jsonlogic?.value?.match?.(regex)?.[1];
|
||||||
if (fieldName) {
|
if (fieldName) {
|
||||||
results.push(fieldName);
|
results.push(fieldName);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user