refactor: findSchema should omit AssociationField.Viewer (#3037)
This commit is contained in:
parent
c25f51d99b
commit
57c7450e16
@ -724,7 +724,7 @@ const findSchema = (schema: Schema, key: string, action: string) => {
|
||||
if (s[key] === action) {
|
||||
return s;
|
||||
}
|
||||
if (s['x-component'] !== 'Action.Container') {
|
||||
if (s['x-component'] !== 'Action.Container' && s['x-component'] !== 'AssociationField.Viewer') {
|
||||
const c = findSchema(s, key, action);
|
||||
if (c) {
|
||||
return c;
|
||||
|
Loading…
Reference in New Issue
Block a user