mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-27 06:13:16 +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>
|
</SelectableItem>
|
||||||
),
|
),
|
||||||
)}
|
)}
|
||||||
</DropdownMenuItemsContainer>
|
{shoudShowSeparator && <DropdownMenuSeparator />}
|
||||||
{shoudShowSeparator && <DropdownMenuSeparator />}
|
|
||||||
<DropdownMenuItemsContainer>
|
|
||||||
{hiddenColumnsFilterDefinitions.map(
|
{hiddenColumnsFilterDefinitions.map(
|
||||||
(hiddenFilterDefinition, index) => (
|
(hiddenFilterDefinition, index) => (
|
||||||
<SelectableItem
|
<SelectableItem
|
||||||
|
@ -15,8 +15,8 @@ import { DropdownMenuSeparator } from '@/ui/layout/dropdown/components/DropdownM
|
|||||||
import { StyledHeaderDropdownButton } from '@/ui/layout/dropdown/components/StyledHeaderDropdownButton';
|
import { StyledHeaderDropdownButton } from '@/ui/layout/dropdown/components/StyledHeaderDropdownButton';
|
||||||
import { useDropdown } from '@/ui/layout/dropdown/hooks/useDropdown';
|
import { useDropdown } from '@/ui/layout/dropdown/hooks/useDropdown';
|
||||||
import { HotkeyScope } from '@/ui/utilities/hotkey/types/HotkeyScope';
|
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 { ScrollWrapper } from '@/ui/utilities/scroll/components/ScrollWrapper';
|
||||||
|
import { useRecoilComponentValueV2 } from '@/ui/utilities/state/component-state/hooks/useRecoilComponentValueV2';
|
||||||
import { useContext } from 'react';
|
import { useContext } from 'react';
|
||||||
import { SORT_DIRECTIONS } from '../types/SortDirection';
|
import { SORT_DIRECTIONS } from '../types/SortDirection';
|
||||||
|
|
||||||
@ -200,9 +200,7 @@ export const ObjectSortDropdownButton = ({
|
|||||||
/>
|
/>
|
||||||
),
|
),
|
||||||
)}
|
)}
|
||||||
</DropdownMenuItemsContainer>
|
{shoudShowSeparator && <DropdownMenuSeparator />}
|
||||||
{shoudShowSeparator && <DropdownMenuSeparator />}
|
|
||||||
<DropdownMenuItemsContainer>
|
|
||||||
{hiddenColumnsSortDefinitions.map(
|
{hiddenColumnsSortDefinitions.map(
|
||||||
(hiddenSortDefinition, index) => (
|
(hiddenSortDefinition, index) => (
|
||||||
<MenuItem
|
<MenuItem
|
||||||
|
Loading…
Reference in New Issue
Block a user