mirror of
https://github.com/discourse/discourse.git
synced 2025-02-10 05:14:59 +00:00
In the formkit conversion in 2ca06ba2360c200b2be8e0718fcc04c64ca14935 we missed setting a type for the UppyImageUploader for badges. Also, we were not passing down the `image_url` as form data, so when we used `data.image` for that field the badge was not updating in the UI after page loads and the image URL was not loading for preview. Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>