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: c2org#4082 merged doc redirect to bad url #4174

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mbrunet-carbon
Copy link

Issue

#4082

Resolution

The issue is this.document?.cooked?.lang is undefined when we try the redirection. Also, when the user switch language, the page language change but not URL. That's why i choose to use this.$language.current.

ps: I kept this.document?.cooked?.lang because it works for others articles and since there is no test, i think it's better to keep it like this to avoid regression

@mbrunet-carbon mbrunet-carbon changed the title Fix[4082] Merged doc redirect to bad url fix: c2org#4082 merged doc redirect to bad url Dec 20, 2024
@github-actions github-actions bot added the bug Something isn't working label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant