Skip to content

Commit

Permalink
Increase MAX_CASH_ACCOUNTS_IN_DROPDOWN to 200
Browse files Browse the repository at this point in the history
  • Loading branch information
okcodes committed Oct 16, 2020
1 parent c33fbbe commit f4a0701
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/AbstractOperationList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ import {OperationListTabbedWidget} from "./OperationListTabbedWidget";
import {DateFilter, todayFilter} from "../utils/date-util";

const MAX_ITEMS_PER_PAGE = 50;
const MAX_CASH_ACCOUNTS_IN_DROPDOWN = 100;
// TODO: Show the user some UI if there are more than these accounts:
const MAX_CASH_ACCOUNTS_IN_DROPDOWN = 200;

const useStyles = makeStyles((theme: Theme) => ({
abstractOperationFab: {
Expand Down

0 comments on commit f4a0701

Please sign in to comment.