mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 08:47:20 +00:00
Merge branch 'main' into next
This commit is contained in:
commit
aa9f4a9a0e
@ -41,7 +41,7 @@ export const filterAnalyses = (filters): any[] => {
|
||||
if (!operator) {
|
||||
return true;
|
||||
}
|
||||
const regex = /\{\{\$(?:[a-zA-Z_]\w*)\.([a-zA-Z_]\w*)(?:\.id)?\}\}/;
|
||||
const regex = /\{\{\$[a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*\.(\w+)\.id\}\}/;
|
||||
const fieldName = jsonlogic?.value?.match?.(regex)?.[1];
|
||||
if (fieldName) {
|
||||
results.push(fieldName);
|
||||
|
Loading…
Reference in New Issue
Block a user