dashy icon indicating copy to clipboard operation
dashy copied to clipboard

[BUG] <title>modified config in the ui,resulting in an error in the configuration file

Open snbzy opened this issue 2 years ago • 2 comments

Environment

Self-Hosted (Docker)

System

No response

Version

No response

Describe the problem

When I edit the configuration file in the UI and click Save to Profile, the configuration file will be modified to the wrong format, resulting in the inability to rebuild the application image

Additional info

No response

Please tick the boxes

snbzy avatar Nov 30 '23 01:11 snbzy

If you're enjoying Dashy, consider dropping us a ⭐
🤖 I'm a bot, and this message was automated

liss-bot avatar Nov 30 '23 01:11 liss-bot

I've fixed this, please see the image below.You only need to serialize and re-deserialize the configured objects to ensure that the configuration file is not garbled image

snbzy avatar Dec 06 '23 13:12 snbzy

Duplicate of #1361, please close this

CrazyWolf13 avatar Feb 03 '24 09:02 CrazyWolf13

Thanks for providing your screenshot and a possibly fix. I'll look into this and if it can confirm, i'll push a fix.

Will keep you updated!

CrazyWolf13 avatar Feb 22 '24 06:02 CrazyWolf13

Thanks, fix is pushed and approved: https://github.com/Lissy93/dashy/pull/1470

CrazyWolf13 avatar Feb 22 '24 20:02 CrazyWolf13