mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-07 14:39:25 +08:00
fix(menu): fix menu loading issue (#5388)
* fix(menu): fix menu loading issue * fix(otherRecords): should display search box
This commit is contained in:
parent
e6a95b3b91
commit
155c337d5f
@ -23,7 +23,7 @@ import { useCompile } from '../../schema-component';
|
||||
import { useSchemaTemplateManager } from '../../schema-templates';
|
||||
import { useCollectionDataSourceItems } from '../utils';
|
||||
|
||||
const MENU_ITEM_HEIGHT = 40;
|
||||
const MENU_ITEM_HEIGHT = 32;
|
||||
const STEP = 15;
|
||||
|
||||
export const SearchCollections = ({ value: outValue, onChange }) => {
|
||||
|
@ -1022,6 +1022,7 @@ export const useCollectionDataSourceItems = ({
|
||||
onClick() {},
|
||||
componentProps: {
|
||||
...dataBlockInitializerProps,
|
||||
hideSearch: false,
|
||||
icon: null,
|
||||
title: otherText || t('Other records'),
|
||||
name: 'otherRecords',
|
||||
|
Loading…
x
Reference in New Issue
Block a user