Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.
fix: use hasDraftsEnabled utility instead of direct check (#14843)
Replaces direct checks of `collectionConfig.versions?.drafts` with the `hasDraftsEnabled` utility function for consistency across document permissions, update operations, and duplicate document functionality.
R
Rot4tion committed
9c9c7c525bd4d52f7c4bbe3d6bc2400c9a6907e6
Parent: ccfaee0
Committed by GitHub <noreply@github.com>
on 12/8/2025, 3:33:19 PM