-
-
Notifications
You must be signed in to change notification settings - Fork 521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recent uploaded images are NOT deleted #675
Comments
That's a known issue. I'll see what I can do about getting it into a future release. |
I have an idea about it. |
I'd be happy if you assign this task to me so that I'll be able to fix it.😊 |
I think the better route to go for this would be to handle this in the Vue components, specifically where we have methods that remove images. There, you could hit a single DELETE route with the filename, do a quick lookup in the MediaController, and return the proper response after the action is taken. Let me know what you think, I'll assign this to both of us and I'll be more than happy to check out a PR once you've got one ready! |
Is this bug already fixed for a future release? Can I help to fix it? |
Thanks @Khanabeev for offering that, SUPER helpful! It's still an open bug, so if you'd like to take a stab at it and submit a PR, I'd be more than happy to take a look. |
I have noticed that whenever I upload a file and DELETE it in that post the recently uploaded image is not being deleted from
storage/public
directory:This can make the application heavy in terms of the space that should be dedicated to it.
The text was updated successfully, but these errors were encountered: