mainflux/ui

Generalize code handling table and pagination

Closed this issue · 1 comments

Generalize code handling table and pagination

Components using table and pagination are using now changePage and changeLimit events to manage the pagination logic. Unify it and simplify it by replacing prevand next by -1 and +1 so we can remove checks from handlers.