From: Nizamudeen A Date: Thu, 11 Sep 2025 05:25:08 +0000 (+0530) Subject: mgr/dashboard: show loader while changing pages X-Git-Tag: testing/wip-jcollin-testing-20251010.000231-tentacle~4^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=bb81d3366d5fb7785021bc20f8c2388b52a80996;p=ceph-ci.git mgr/dashboard: show loader while changing pages during server side pagination where each pagination cycle is delayed by 1s. Fixes: https://tracker.ceph.com/issues/72979 Signed-off-by: Nizamudeen A (cherry picked from commit 66ce55ae2bc823e39f5f0c9e4f1db7609f85974d) --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.ts index 7932c4da5d1..4e6e49ef509 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.ts @@ -905,6 +905,7 @@ export class TableComponent implements AfterViewInit, OnInit, OnChanges, OnDestr this.userConfig.limit = this.model.pageLength; if (this.serverSide) { + this.loadingIndicator = true; this.reloadData(); return; }