Skip to content
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

[4.x] Prevent root entries being deleted in listing view #8912

Conversation

ryanmitchell
Copy link
Contributor

This PR prevents root entries from being deleted in listing views by not letting the delete actions be visible to these entries.

Before: (home is my root entry)
Screenshot 2023-11-02 at 07 43 46

After:
Screenshot 2023-11-02 at 07 43 22

Closes #8794

@ryanmitchell ryanmitchell changed the title Prevent root entries being deleted in listing view [4.x] Prevent root entries being deleted in listing view Nov 2, 2023
@jasonvarga jasonvarga merged commit 2fda18b into statamic:4.x Nov 3, 2023
19 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deleting a root page causes whole page to throw 500 error
2 participants