Skip to content

Conversation

@Rot4tion
Copy link
Contributor

@Rot4tion Rot4tion commented Dec 7, 2025

Replaces direct checks of collectionConfig.versions?.drafts with the hasDraftsEnabled utility function for consistency across document permissions, update operations, and duplicate document functionality.

…ecks

Replaces direct checks of `collectionConfig.versions?.drafts` with the `hasDraftsEnabled` utility function for consistency across document permissions, update operations, and duplicate document functionality.
@JarrodMFlesch JarrodMFlesch merged commit 9c9c7c5 into payloadcms:main Dec 8, 2025
99 checks passed
@github-actions
Copy link
Contributor

github-actions bot commented Dec 9, 2025

🚀 This is included in version v3.68.0

zubricks pushed a commit that referenced this pull request Jan 6, 2026
Replaces direct checks of `collectionConfig.versions?.drafts` with the
`hasDraftsEnabled` utility function for consistency across document
permissions, update operations, and duplicate document functionality.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants