Skip to content

Commit b9bf4bc

Browse files
committed
mgr/dashboard: fix total capacity value in dashboard
Regression from a different commit ceph@2609d4f#diff-caee5ab662130fe721d15eca7a6e2dc79b671df025bde3bfd78c3c3ca4c578d1R249 Fixes: https://tracker.ceph.com/issues/73036 Signed-off-by: Nizamudeen A <[email protected]>
1 parent 098432f commit b9bf4bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pybind/mgr/dashboard/frontend/src/app/ceph/dashboard-v3/dashboard/dashboard-v3.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,9 +244,9 @@
244244
<div class="ms-4 me-4 mt-0">
245245
<cd-dashboard-time-selector (selectedTime)="getPrometheusData($event)">
246246
</cd-dashboard-time-selector>
247-
<ng-container *ngIf="usedCapacity">
247+
<ng-container *ngIf="totalCapacity">
248248
<cd-dashboard-area-chart chartTitle="Used Capacity (RAW)"
249-
[maxValue]="usedCapacity"
249+
[maxValue]="totalCapacity"
250250
dataUnits="B"
251251
[labelsArray]="['Used Capacity']"
252252
[dataArray]="[queriesResults.USEDCAPACITY]">

0 commit comments

Comments
 (0)