cachethq / cachet

🚦 The open-source status page system.
https://cachethq.io
MIT License
13.79k stars 1.55k forks source link

Dashboard Api Controller: call UpdateComponentCommand only with modified params #4403

Open ppomes opened 2 weeks ago

ppomes commented 2 weeks ago

After merging #4402, changing a component state with no tags creates a tag "[]" in DB (an empty array to string).

Fix: calls to UpdateComponentCommand from dash controller should be done only on modified params, as it is done on incident creation/updates.