FUXA icon indicating copy to clipboard operation
FUXA copied to clipboard

Cannot read properties of undefined (reading 'name') in console

Open gabrielbalinca opened this issue 2 years ago • 0 comments

When I refresh the page with device settings, it gives me this error in the browser's console :

ERROR TypeError: Cannot read properties of undefined (reading 'name')
    at device-list.component.ts:109:35
    at Array.forEach (<anonymous>)
    at push../app/device/device-list/device-list.component.ts.DeviceListComponent.setSelectedDevice (device-list.component.ts:108:37)
    at push../app/device/device-list/device-list.component.ts.DeviceListComponent.mapTags (device-list.component.ts:88:14)
    at device.component.ts:56:29
    at SafeSubscriber.schedulerFn [as _next] (core.js:13516:35)
    at push.../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.__tryOrUnsub (Subscriber.js:196:1)
    at push.../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.next (Subscriber.js:134:1)
    at push.../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber._next (Subscriber.js:77:1)
    at push.../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next (Subscriber.js:54:1)`

Image : image

Probably another default value is missing.

gabrielbalinca avatar Sep 09 '22 06:09 gabrielbalinca