-
Notifications
You must be signed in to change notification settings - Fork 366
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
Fix - Prevent bulk delete action on resources with childs #1704
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Thanks @lguichard the only issue I can potentially see with this is calling the relationship like Would it be more efficient to modify the query and load the count like |
@alecritson Thanks for the feedback. It was so obvious that I forgot it 😵💫 |
Thanks @lguichard I've made one little tweak to the statement logic, hopefully that's alright and makes sense :) |
@lguichard @alecritson I do agree we have an issue here that needs to be resolved, but the fundamental issue I can see here is that by turning off the bulk update checkbox, we'll not be able to do other bulk updates in the future. I think we need to look at a different approach and we also need to look at the delete buttons on the individual edit pages. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments made.
Thanks for this @lguichard. I'm going to close this PR for now as after some discussion, we are going to take a wider look at deleting across Lunar and address some other concerns that have come up. |
No description provided.