]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Proper format iSCSI target portals 36585/head
authorVolker Theile <vtheile@suse.com>
Wed, 12 Aug 2020 10:54:07 +0000 (12:54 +0200)
committerVolker Theile <vtheile@suse.com>
Thu, 13 Aug 2020 07:12:07 +0000 (09:12 +0200)
Proper format the 'Portals' and 'Images' columns.

Fixes: https://tracker.ceph.com/issues/46908
Signed-off-by: Volker Theile <vtheile@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-list/iscsi-target-list.component.ts

index 921a02254a5ec0058913f47a93b6e09e896defd8..1d7559f7285780dcea63702465d39ef5268b27d8 100644 (file)
@@ -17,6 +17,7 @@ import { CdTableSelection } from '../../../shared/models/cd-table-selection';
 import { FinishedTask } from '../../../shared/models/finished-task';
 import { Permission } from '../../../shared/models/permissions';
 import { Task } from '../../../shared/models/task';
+import { JoinPipe } from '../../../shared/pipes/join.pipe';
 import { NotAvailablePipe } from '../../../shared/pipes/not-available.pipe';
 import { AuthStorageService } from '../../../shared/services/auth-storage.service';
 import { ModalService } from '../../../shared/services/modal.service';
@@ -58,6 +59,7 @@ export class IscsiTargetListComponent extends ListWithDetails implements OnInit,
   constructor(
     private authStorageService: AuthStorageService,
     private iscsiService: IscsiService,
+    private joinPipe: JoinPipe,
     private taskListService: TaskListService,
     private notAvailablePipe: NotAvailablePipe,
     private modalService: ModalService,
@@ -102,11 +104,13 @@ export class IscsiTargetListComponent extends ListWithDetails implements OnInit,
       {
         name: $localize`Portals`,
         prop: 'cdPortals',
+        pipe: this.joinPipe,
         flexGrow: 2
       },
       {
         name: $localize`Images`,
         prop: 'cdImages',
+        pipe: this.joinPipe,
         flexGrow: 2
       },
       {