Skip to content

Commit b99a246

Browse files
authored
Merge pull request ceph#65652 from rhcs-dashboard/storage-capacity-fix
mgr/dashboard: Blank entry for Storage Capacity in dashboard under Cluster > Expand Cluster > Review Reviewed-by: Afreen Misbah <[email protected]>
2 parents 96f5aef + a01909e commit b99a246

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/create-cluster/create-cluster-review.component.html

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,10 @@
5858
<ng-template #simpleDeploymentTextTpl>
5959
<tr>
6060
<td>
61-
<dl>
62-
<dt>
63-
<p i18n>Storage Capacity</p>
64-
</dt>
65-
<dd>
66-
<p i18n>{{deploymentDescText}}</p>
67-
</dd>
68-
</dl>
61+
<span i18n>Storage Capacity</span>
62+
</td>
63+
<td>
64+
<span i18n>{{deploymentDescText}}</span>
6965
</td>
7066
</tr>
7167
</ng-template>

src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/create-cluster/create-cluster-review.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export class CreateClusterReviewComponent implements OnInit {
2323
services: Array<CephServiceSpec> = [];
2424
totalCPUs = 0;
2525
totalMemory = 0;
26-
deploymentDescText: string;
26+
deploymentDescText: string = '-';
2727
isSimpleDeployment = true;
2828

2929
constructor(

0 commit comments

Comments
 (0)