X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fpybind%2Fmgr%2Fdashboard%2Ffrontend%2Fsrc%2Fapp%2Fceph%2Fblock%2Fmirroring%2Fimage-list%2Fimage-list.component.ts;h=3867da7db92a5deafaa055729a1002c5cfa58628;hb=f6b5b4d738b87d88d2de35127b6b0e41eae2a272;hp=5acdd1ea29d21cfb123b2d5d298c375c59a57078;hpb=12732ca2e80d168d344a265acffc1fbd1fa1f1b5;p=ceph.git diff --git a/ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/mirroring/image-list/image-list.component.ts b/ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/mirroring/image-list/image-list.component.ts index 5acdd1ea2..3867da7db 100644 --- a/ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/mirroring/image-list/image-list.component.ts +++ b/ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/block/mirroring/image-list/image-list.component.ts @@ -77,10 +77,7 @@ export class ImageListComponent implements OnInit, OnDestroy { } ]; - this.subs = this.rbdMirroringService.subscribeSummary((data: any) => { - if (!data) { - return; - } + this.subs = this.rbdMirroringService.subscribeSummary((data) => { this.image_error.data = data.content_data.image_error; this.image_syncing.data = data.content_data.image_syncing; this.image_ready.data = data.content_data.image_ready;