]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: debounce reload data with serverSide
authorPere Diaz Bou <pdiazbou@redhat.com>
Mon, 4 Jul 2022 10:33:36 +0000 (12:33 +0200)
committerPere Diaz Bou <pdiazbou@redhat.com>
Fri, 9 Sep 2022 17:30:24 +0000 (19:30 +0200)
commitd58db0ea688dd1393fd0c4da36651454e8344127
tree2cce12c9c65d0426b5c095e2ae9c5692cdb6f1c5
parent1631194d133f866fd66604470f902185d3af9875
mgr/dashboard: debounce reload data with serverSide

Whenever we use serverSide (paginate through backend) we should
debounce reloadData since it might call api calls too much times.

Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
(cherry picked from commit c832464998ed3ed34af3bda37056dfdc1729f4a6)
(cherry picked from commit 84a6f5dad5f1f7f842a5d4283c9b2b246db894ca)

Resolves: rhbz#2125432
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.ts