diff options
author | afreen23 <afreen23.git@gmail.com> | 2024-12-16 15:12:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-16 15:12:35 +0100 |
commit | 62a3798fec59f5d72b13a4dd8f036dedf9e59b6b (patch) | |
tree | e0b5555a860f3aec63553810c65562d3909095d6 /src/pybind/mgr/dashboard/frontend | |
parent | Merge pull request #60873 from rhcs-dashboard/fix-69074-main (diff) | |
parent | mgr/dashboard: added ports in administration table (diff) | |
download | ceph-62a3798fec59f5d72b13a4dd8f036dedf9e59b6b.tar.xz ceph-62a3798fec59f5d72b13a4dd8f036dedf9e59b6b.zip |
Merge pull request #60941 from rhcs-dashboard/addPortsInAdminTable
mgr/dashboard: added ports in administration table
Reviewed-by: Afreen Misbah <afreen@ibm.com>
Diffstat (limited to 'src/pybind/mgr/dashboard/frontend')
-rw-r--r-- | src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/services.component.ts | 11 |
1 files changed, 11 insertions, 0 deletions
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: '-', + '': '-' + } } ]; |