shelf.nu
shelf.nu copied to clipboard
[Bug]: Updating an asset image doesn't delete the old image
Contact Details
No response
What happened?
Steps to reproduce:
- Go to an asset
- Edit the asset and change its image
- Go to supabase and check storage folder
- Notice that the old image is not deleted
What is the expected behaviour?
The old image should get deleted. We have to only do that if the upload of the new image was successful.
Version
Hosted (app.shelf.nu)
What browsers are you seeing the problem on?
Firefox, Chrome, Safari, Microsoft Edge
Relevant log output
No response