fix crash when deleting more than 21 vouchers
This commit is contained in:
parent
e830d199c2
commit
26f118e42a
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue