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

Bugfix: Add ?draft=true to draft links #435

Merged
merged 1 commit into from
Nov 17, 2023
Merged

Conversation

jeffdaley
Copy link
Contributor

Fixes (and now tests for) the draft queryParam on /draft document links.

Bug was introduced #418 by not capitalizing "WIP."

return true;
}

return this.args.doc.status === "WIP";
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll enum these statuses separately.

@jeffdaley jeffdaley marked this pull request as ready for review November 17, 2023 14:44
@jeffdaley jeffdaley requested a review from a team as a code owner November 17, 2023 14:44
@jeffdaley jeffdaley merged commit 263ed5d into main Nov 17, 2023
2 checks passed
@jeffdaley jeffdaley deleted the jeffdaley/fix-draft-linktos branch November 17, 2023 17:38
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.

2 participants