mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-23 12:02:10 +03:00
Fix remove no result menu from relation picker (#8485)
Fixes: #8455 1. Summary Removed redundant `No result` menu from relation picker 2. Screenshot https://github.com/user-attachments/assets/0bf457dc-57d6-4b38-8ef9-e985edd92396
This commit is contained in:
parent
9e7b90a551
commit
ac93d35538
@ -2,7 +2,7 @@ import { isNonEmptyString } from '@sniptt/guards';
|
||||
import { Fragment, useRef } from 'react';
|
||||
import { useRecoilValue } from 'recoil';
|
||||
import { Key } from 'ts-key-enum';
|
||||
import { IconComponent, IconPlus, MenuItem, MenuItemSelect } from 'twenty-ui';
|
||||
import { IconComponent, IconPlus, MenuItemSelect } from 'twenty-ui';
|
||||
|
||||
import { SelectableMenuItemSelect } from '@/object-record/relation-picker/components/SelectableMenuItemSelect';
|
||||
import { SINGLE_ENTITY_SELECT_BASE_LIST } from '@/object-record/relation-picker/constants/SingleEntitySelectBaseList';
|
||||
@ -147,7 +147,6 @@ export const SingleEntitySelectMenuItems = ({
|
||||
!isAllEntitySelectShown &&
|
||||
!loading ? (
|
||||
<>
|
||||
<MenuItem text="No result" />
|
||||
{entitiesToSelect.length > 0 && <DropdownMenuSeparator />}
|
||||
<CreateNewButton
|
||||
key="add-new"
|
||||
|
Loading…
Reference in New Issue
Block a user