]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/dashboard: show loader while changing pages
authorNizamudeen A <nia@redhat.com>
Thu, 11 Sep 2025 05:25:08 +0000 (10:55 +0530)
committerNizamudeen A <nia@redhat.com>
Wed, 8 Oct 2025 05:15:35 +0000 (10:45 +0530)
during server side pagination where each pagination cycle is delayed by
1s.

Fixes: https://tracker.ceph.com/issues/72979
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 66ce55ae2bc823e39f5f0c9e4f1db7609f85974d)

src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.ts

index 7932c4da5d1d9382502b439781bd85a80bdc1f11..4e6e49ef509670b5a068100b083b0bb0880cafc7 100644 (file)
@@ -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;
     }