Fixes: https://tracker.ceph.com/issues/61215
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
cellTransformation: CellTemplate.badge,
customTemplateConfig: {
map: {
- maintenance: { class: 'badge-warning' }
+ maintenance: { class: 'badge-warning' },
+ available: { class: 'badge-success' }
}
}
},
.subscribe(
(hostList) => {
this.hosts = hostList;
+ this.hosts.forEach((host: object) => {
+ if (host['status'] === '') {
+ host['status'] = 'available';
+ }
+ });
this.transformHostsData();
this.isLoadingHosts = false;
},