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

fix(ui): fix version list status for unpublished documents #11983

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tak-amboss
Copy link
Contributor

What?

Fixes the label for documents which were the current published document but got unpublished in the version view.

Why?

If the most recent published document was unpublished, it remained displayed as "Currently published version" in the version list.

How?

Checks whether the document has a currently published version instead of only looking at the latest published version when determining the label in the versions view.

Fixes #10838

@AlessioGr AlessioGr self-assigned this Apr 7, 2025
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.

Unpublishing a version keeps the current version published
2 participants