Skip to content

Commit a5dfe31

Browse files
authored
Merge pull request ceph#65537 from rhcs-dashboard/total-capacity-fix
mgr/dashboard: fix total capacity value in dashboard
2 parents 3185575 + b9bf4bc commit a5dfe31

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)