Fix the Total Memory coming up as NaN Undefined
Remove `Add` Button in the Cluster Details table
Fixes: https://tracker.ceph.com/issues/53038
Signed-off-by: Nizamudeen A <nia@redhat.com>
<legend i18n
class="cd-header">Host Details</legend>
<cd-hosts [hiddenColumns]="['services', 'status']"
+ [hideToolHeader]="true"
[hideTitle]="true"
[hideSubmitBtn]="true"
[hasTableDetails]="false"
(this.serviceOccurrences[serviceKey['service_type']] || 0) + 1;
this.uniqueServices.add(serviceKey['service_type']);
});
- this.totalMemory = this.dimlessBinary.transform(this.totalMemory);
this.uniqueServices.forEach((serviceType) => {
this.hostsCountPerService.push({
selectionType="single"
[hasDetails]="hasTableDetails"
(setExpandedRow)="setExpandedRow($event)"
- (updateSelection)="updateSelection($event)">
+ (updateSelection)="updateSelection($event)"
+ [toolHeader]="!hideToolHeader">
<div class="table-actions btn-toolbar">
<cd-table-actions [permission]="permissions.hosts"
[selection]="selection"
@Input()
hasTableDetails = true;
+ @Input()
+ hideToolHeader = false;
+
@Input()
showGeneralActionsOnly = false;