fix crash when deleting more than 21 vouchers

This commit is contained in:
sektordv 2021-07-27 16:35:35 +02:00
parent e830d199c2
commit 26f118e42a

View file

@ -63,7 +63,7 @@ const SaleCreateView: React.FC<RouteComponentProps> = ({ location }) => {
};
const VoucherListView: React.FC<RouteComponentProps<{}>> = ({ location }) => {
const qs = parseQs(location.search.substr(1));
const qs = parseQs(location.search.substr(1), { arrayLimit: Infinity });
const params: VoucherListUrlQueryParams = asSortParams(
qs,
VoucherListUrlSortField,