mirror of
https://github.com/ceph/ceph
synced 2025-01-11 05:29:51 +00:00
mgr/dashboard: fix Cannot read properties of undefined (reading 'filter')
Fixes: https://tracker.ceph.com/issues/57434 Signed-off-by: Nizamudeen A <nia@redhat.com>
This commit is contained in:
parent
d3a03afa28
commit
a3f601b5e7
@ -485,7 +485,7 @@ export class ServiceFormComponent extends CdForm implements OnInit {
|
||||
|
||||
getServiceIds(selectedServiceType: string) {
|
||||
this.serviceIds = this.serviceList
|
||||
.filter((service) => service['service_type'] === selectedServiceType)
|
||||
?.filter((service) => service['service_type'] === selectedServiceType)
|
||||
.map((service) => service['service_id']);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user