mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 04:55:44 +00:00
fix: filter collapse
This commit is contained in:
parent
d6ad4a4358
commit
f73fa8a477
@ -25,7 +25,9 @@ const commonOptions: any = {
|
|||||||
useChildren() {
|
useChildren() {
|
||||||
const cm = useCollectionManager_deprecated();
|
const cm = useCollectionManager_deprecated();
|
||||||
const associatedFields = useAssociatedFields();
|
const associatedFields = useAssociatedFields();
|
||||||
const children = associatedFields.map((field) => ({
|
const children = associatedFields
|
||||||
|
.filter((field) => !['JSONDocObject', 'JSONDocArray'].includes(field.interface))
|
||||||
|
.map((field) => ({
|
||||||
name: field.key,
|
name: field.key,
|
||||||
title: field.uiSchema?.title,
|
title: field.uiSchema?.title,
|
||||||
Component: 'AssociationFilterDesignerDisplayField',
|
Component: 'AssociationFilterDesignerDisplayField',
|
||||||
|
@ -111,6 +111,7 @@ export const getPopupPathFromParams = (params: PopupParams) => {
|
|||||||
puid,
|
puid,
|
||||||
collection && 'collection',
|
collection && 'collection',
|
||||||
collection,
|
collection,
|
||||||
|
// filterbytk is possibly to be 0
|
||||||
filterbytk !== null && filterbytk !== undefined && 'filterbytk',
|
filterbytk !== null && filterbytk !== undefined && 'filterbytk',
|
||||||
filterbytk,
|
filterbytk,
|
||||||
sourceid && 'sourceid',
|
sourceid && 'sourceid',
|
||||||
|
Loading…
Reference in New Issue
Block a user