]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/dashboard: fix total capacity value in dashboard
authorNizamudeen A <nia@redhat.com>
Tue, 16 Sep 2025 07:02:45 +0000 (12:32 +0530)
committerNizamudeen A <nia@redhat.com>
Tue, 16 Sep 2025 07:02:45 +0000 (12:32 +0530)
Regression from a different commit
https://github.com/ceph/ceph/commit/2609d4f62e9e3906cf3e3fcc042bfdf0bcc633bf#diff-caee5ab662130fe721d15eca7a6e2dc79b671df025bde3bfd78c3c3ca4c578d1R249

Fixes: https://tracker.ceph.com/issues/73036
Signed-off-by: Nizamudeen A <nia@redhat.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard-v3/dashboard/dashboard-v3.component.html

index 53768ab54b556ef2eaed93fdf794fbc0f065ac45..726b16cdd8691d3f6ce9a30e8b4dc76859666c45 100644 (file)
           <div class="ms-4 me-4 mt-0">
             <cd-dashboard-time-selector (selectedTime)="getPrometheusData($event)">
             </cd-dashboard-time-selector>
-            <ng-container *ngIf="usedCapacity">
+            <ng-container *ngIf="totalCapacity">
               <cd-dashboard-area-chart chartTitle="Used Capacity (RAW)"
-                                       [maxValue]="usedCapacity"
+                                       [maxValue]="totalCapacity"
                                        dataUnits="B"
                                        [labelsArray]="['Used Capacity']"
                                        [dataArray]="[queriesResults.USEDCAPACITY]">