-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
Description
Describe the Bug
Admin UI status indication
Within the Admin UI, if drafts are enabled, a document can be shown with one of three "statuses":
- Draft - if a document has never been published, and only draft versions of the document are present
- Published - if a document is published and there are no newer drafts available
- Changed - if a document has been published, but there are newer drafts available and not yet published
✅ The status "Changed" works correctly in Document View
❌ But not in the List View
Link to the code that reproduces this issue
https://github.com/payloadcms/payload
Reproduction Steps
pnpm dev versions- go to http://localhost:3000/admin/collections/draft-posts
- Enter a document that has published status
- Modify something in the document and press "save draft"
- At the top of the document you will see "Status: changed". This is correct.
- But if you go back to the List View, you'll see that the status column says draft.
Which area(s) are affected? (Select all that apply)
area: ui
Environment Info
payload: 3.62.0
jhb-dev and PP-Tom