Skip to content

Commit

Permalink
Fix category autocomplete modal header
Browse files Browse the repository at this point in the history
  • Loading branch information
joel-jeremy committed Mar 24, 2024
1 parent 539ce1d commit 2cfdee9
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export function AccountAutocomplete({
});

return (
<Autocomplete<AccountEntity>
<Autocomplete<AccountAutocompleteItem>
strict={true}
highlightFirst={true}
embedded={embedded}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ export function PayeeAutocomplete({
const [payeeFieldFocused, setPayeeFieldFocused] = useState(false);

return (
<Autocomplete<PayeeEntity>
<Autocomplete<PayeeAutocompleteItem>
key={focusTransferPayees ? 'transfers' : 'all'}
strict={true}
embedded={embedded}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ export function CategoryAutocompleteModal({
closeOnBlur={false}
showSplitOption={false}
onClose={_onClose}
showHiddenCategories={false}
{...defaultAutocompleteProps}
{...autocompleteProps}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export function TransferModal({
dispatch(
pushModal('category-autocomplete', {
categoryGroups,
showHiddenCategories: true,
onSelect: categoryId => {
setToCategoryId(categoryId);
},
Expand Down

0 comments on commit 2cfdee9

Please sign in to comment.