Skip to content

Conversation

@JayGeorge
Copy link

@JayGeorge JayGeorge commented Aug 22, 2025

Some delete buttons were using primary buttons when they should be using danger buttons. Related to #12071

For example, go to /cp/collections/pages/ and enable the tree view by setting the Max Depth to 2 in /cp/collections/pages/edit, then go back and delete a page from the tree view. Previous to this pull request the "delete" button would be in a primary color rather than danger/red.

@JayGeorge JayGeorge changed the title Fix destructive buttons [6.x] Fix destructive buttons Aug 22, 2025
@jasonvarga jasonvarga merged commit 59b7160 into master Aug 22, 2025
21 of 22 checks passed
@jasonvarga jasonvarga deleted the fix-destructive-buttons branch August 22, 2025 14:29
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.

3 participants