mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 10:26:45 +00:00
fix: association field enablement affecting block field states (#4528)
This commit is contained in:
parent
073e2b0d5b
commit
9e8335572a
@ -717,7 +717,7 @@ const findSchema = (schema: Schema, key: string, action: string) => {
|
||||
if (s[key] === action) {
|
||||
return s;
|
||||
}
|
||||
if (s['x-component'] !== 'Action.Container' && s['x-component'] !== 'AssociationField.Viewer') {
|
||||
if (s['x-component'] !== 'Action.Container' && !s['x-component'].includes('AssociationField')) {
|
||||
const c = findSchema(s, key, action);
|
||||
if (c) {
|
||||
return c;
|
||||
|
Loading…
Reference in New Issue
Block a user