shelf.nu icon indicating copy to clipboard operation
shelf.nu copied to clipboard

[Bug]: Updating an asset image doesn't delete the old image

Open DonKoko opened this issue 1 year ago • 0 comments

Contact Details

No response

What happened?

Steps to reproduce:

  1. Go to an asset
  2. Edit the asset and change its image
  3. Go to supabase and check storage folder
  4. 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

DonKoko avatar Mar 27 '24 08:03 DonKoko