mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-26 05:24:04 +03:00
fix: search error in filter & sort dropdowns (#8493)
Fixes: #8483 Co-authored-by: Félix Malfait <felix@twenty.com>
This commit is contained in:
parent
51c54d4c5b
commit
c966533f26
@ -187,9 +187,7 @@ export const ObjectFilterDropdownFilterSelect = ({
|
||||
</SelectableItem>
|
||||
),
|
||||
)}
|
||||
</DropdownMenuItemsContainer>
|
||||
{shoudShowSeparator && <DropdownMenuSeparator />}
|
||||
<DropdownMenuItemsContainer>
|
||||
{shoudShowSeparator && <DropdownMenuSeparator />}
|
||||
{hiddenColumnsFilterDefinitions.map(
|
||||
(hiddenFilterDefinition, index) => (
|
||||
<SelectableItem
|
||||
|
@ -15,8 +15,8 @@ import { DropdownMenuSeparator } from '@/ui/layout/dropdown/components/DropdownM
|
||||
import { StyledHeaderDropdownButton } from '@/ui/layout/dropdown/components/StyledHeaderDropdownButton';
|
||||
import { useDropdown } from '@/ui/layout/dropdown/hooks/useDropdown';
|
||||
import { HotkeyScope } from '@/ui/utilities/hotkey/types/HotkeyScope';
|
||||
import { useRecoilComponentValueV2 } from '@/ui/utilities/state/component-state/hooks/useRecoilComponentValueV2';
|
||||
import { ScrollWrapper } from '@/ui/utilities/scroll/components/ScrollWrapper';
|
||||
import { useRecoilComponentValueV2 } from '@/ui/utilities/state/component-state/hooks/useRecoilComponentValueV2';
|
||||
import { useContext } from 'react';
|
||||
import { SORT_DIRECTIONS } from '../types/SortDirection';
|
||||
|
||||
@ -200,9 +200,7 @@ export const ObjectSortDropdownButton = ({
|
||||
/>
|
||||
),
|
||||
)}
|
||||
</DropdownMenuItemsContainer>
|
||||
{shoudShowSeparator && <DropdownMenuSeparator />}
|
||||
<DropdownMenuItemsContainer>
|
||||
{shoudShowSeparator && <DropdownMenuSeparator />}
|
||||
{hiddenColumnsSortDefinitions.map(
|
||||
(hiddenSortDefinition, index) => (
|
||||
<MenuItem
|
||||
|
Loading…
Reference in New Issue
Block a user