Skip to content

Commit 62a3798

Browse files
authored
Merge pull request ceph#60941 from rhcs-dashboard/addPortsInAdminTable
mgr/dashboard: added ports in administration table Reviewed-by: Afreen Misbah <[email protected]>
2 parents 610e1a2 + 25fde24 commit 62a3798

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/services.component.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ import { PlacementPipe } from './placement.pipe';
2929
import { ServiceFormComponent } from './service-form/service-form.component';
3030
import { SettingsService } from '~/app/shared/api/settings.service';
3131
import { ModalCdsService } from '~/app/shared/services/modal-cds.service';
32+
import { CellTemplate } from '~/app/shared/enum/cell-template.enum';
3233

3334
const BASE_URL = 'services';
3435

@@ -176,6 +177,16 @@ export class ServicesComponent extends ListWithDetails implements OnChanges, OnI
176177
prop: 'status.last_refresh',
177178
pipe: this.relativeDatePipe,
178179
flexGrow: 1
180+
},
181+
{
182+
name: $localize`Ports`,
183+
prop: 'status.ports',
184+
flexGrow: 1,
185+
cellTransformation: CellTemplate.map,
186+
customTemplateConfig: {
187+
undefined: '-',
188+
'': '-'
189+
}
179190
}
180191
];
181192

0 commit comments

Comments
 (0)