Skip to content

Commit f8fc9af

Browse files
committed
[IMP] little change in the way in change tho pager offset
1 parent 4a60287 commit f8fc9af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

awesome_kanban/static/src/customer_list/customer_list.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export class CustomerList extends Component {
5252
this.customers.data,
5353
(customer) => customer.display_name
5454
);
55-
while (this.pager.offset > filteredCustomers.length) this.pager.offset -= this.pager.limit;
55+
if(this.pager.offset > filteredCustomers.length) this.pager.offset = 0;
5656
return filteredCustomers;
5757
} else {
5858
return this.customers.data;

0 commit comments

Comments
 (0)