From: Achintk1491 Date: Tue, 3 Dec 2024 14:21:07 +0000 (+0530) Subject: mgr/dashboard: added ports in administration table X-Git-Tag: testing/wip-vshankar-testing-20241219.063429-debug~43^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=25fde2483b8e4af65fcd52491642a7bbda9f9a93;p=ceph-ci.git mgr/dashboard: added ports in administration table Fixes: https://tracker.ceph.com/issues/69111 Signed-off-by: Achint Kaur --- diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/services.component.ts b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/services.component.ts index 40c2e95d1e0..a07dcfcdd35 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/services.component.ts +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/services.component.ts @@ -29,6 +29,7 @@ import { PlacementPipe } from './placement.pipe'; import { ServiceFormComponent } from './service-form/service-form.component'; import { SettingsService } from '~/app/shared/api/settings.service'; import { ModalCdsService } from '~/app/shared/services/modal-cds.service'; +import { CellTemplate } from '~/app/shared/enum/cell-template.enum'; const BASE_URL = 'services'; @@ -176,6 +177,16 @@ export class ServicesComponent extends ListWithDetails implements OnChanges, OnI prop: 'status.last_refresh', pipe: this.relativeDatePipe, flexGrow: 1 + }, + { + name: $localize`Ports`, + prop: 'status.ports', + flexGrow: 1, + cellTransformation: CellTemplate.map, + customTemplateConfig: { + undefined: '-', + '': '-' + } } ];