ioBroker.admin icon indicating copy to clipboard operation
ioBroker.admin copied to clipboard

[bug]: device manager -> device card -> image

Open Jey-Cee opened this issue 2 years ago • 5 comments

No existing issues.

  • [X] There is no existing issue for my problem.

Describe the bug

~~1. The NoImageIcon is not shown.~~ 2. If there was uploaded an image it will not be shown

To Reproduce

Just open a config/tab with the device manager component that show devices.

Expected behavior

NoImageIcon or image visible in de left upper corner of the device card.

Screenshots & Logfiles

grafik

Adapter version

6.13.15

js-controller version

5.0.12

Node version

18.17.1

Operating system

Ubuntu server 20.04

Additional context

https://github.com/ioBroker/ioBroker.admin/blob/89b20a71d423ebef0c2d8b85f00c31264fa193a1/packages/dm-gui-components/src/DeviceCard.tsx#L27C84-L32C7

https://github.com/ioBroker/ioBroker.admin/blob/89b20a71d423ebef0c2d8b85f00c31264fa193a1/packages/dm-gui-components/src/DeviceCard.tsx#L270

Jey-Cee avatar Jan 17 '24 10:01 Jey-Cee

Will you check or should I @Jey-Cee?

foxriver76 avatar Jan 18 '24 14:01 foxriver76

If you can do this it would be nice, as i dont understand this code style.

Jey-Cee avatar Jan 18 '24 15:01 Jey-Cee

For me it shows the no-image icon and also uploaded ones in Firefox and Chrome, however after a reload it has applied the uploaded image for all devices and only on DM tab not in the objects (not sure it this is the goal). There is definitely something wrong.

foxriver76 avatar Jan 19 '24 08:01 foxriver76

Hm okay it applies to all because it is the same device type ...

foxriver76 avatar Jan 19 '24 08:01 foxriver76