Fix hotkey scope on task assignee (#1530)

This commit is contained in:
Charles Bochet
2023-09-10 16:06:15 -07:00
committed by GitHub
parent 494308b379
commit 2e798ef2ee
4 changed files with 5 additions and 8 deletions

View File

@ -4,14 +4,13 @@ import { IconComponent } from '@/ui/icon/types/IconComponent';
import { useRecoilScopedState } from '@/ui/utilities/recoil-scope/hooks/useRecoilScopedState';
import { availableFiltersScopedState } from '../states/availableFiltersScopedState';
import { FiltersHotkeyScope } from '../types/FiltersHotkeyScope';
import { MultipleFiltersDropdownButton } from './MultipleFiltersDropdownButton';
import { SingleEntityFilterDropdownButton } from './SingleEntityFilterDropdownButton';
type FilterDropdownButtonProps = {
context: Context<string | null>;
hotkeyScope: FiltersHotkeyScope;
hotkeyScope: string;
isPrimaryButton?: boolean;
Icon?: IconComponent;
color?: string;

View File

@ -11,7 +11,6 @@ import { isFilterDropdownOperandSelectUnfoldedScopedState } from '@/ui/view-bar/
import { selectedOperandInDropdownScopedState } from '@/ui/view-bar/states/selectedOperandInDropdownScopedState';
import { isViewBarExpandedScopedState } from '../states/isViewBarExpandedScopedState';
import { FiltersHotkeyScope } from '../types/FiltersHotkeyScope';
import DropdownButton from './DropdownButton';
import { FilterDropdownDateSearchInput } from './FilterDropdownDateSearchInput';
@ -25,7 +24,7 @@ import { FilterDropdownTextSearchInput } from './FilterDropdownTextSearchInput';
type MultipleFiltersDropdownButtonProps = {
context: Context<string | null>;
hotkeyScope: FiltersHotkeyScope;
hotkeyScope: string;
isPrimaryButton?: boolean;
Icon?: IconComponent;
color?: string;

View File

@ -13,7 +13,6 @@ import { selectedOperandInDropdownScopedState } from '@/ui/view-bar/states/selec
import { StyledHeaderDropdownButton } from '../../dropdown/components/StyledHeaderDropdownButton';
import { availableFiltersScopedState } from '../states/availableFiltersScopedState';
import { filtersScopedState } from '../states/filtersScopedState';
import { FiltersHotkeyScope } from '../types/FiltersHotkeyScope';
import { getOperandsForFilterType } from '../utils/getOperandsForFilterType';
import { DropdownMenuContainer } from './DropdownMenuContainer';
@ -32,7 +31,7 @@ export function SingleEntityFilterDropdownButton({
hotkeyScope,
}: {
context: Context<string | null>;
hotkeyScope: FiltersHotkeyScope;
hotkeyScope: string;
}) {
const theme = useTheme();