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

Preferences API route is translated #6124

Open
MrFriggo opened this issue Apr 29, 2024 · 0 comments
Open

Preferences API route is translated #6124

MrFriggo opened this issue Apr 29, 2024 · 0 comments
Labels
[possible-bug] Possible bug which hasn't been reproduced yet

Comments

@MrFriggo
Copy link
Contributor

Link to reproduction

No response

Describe the Bug

Payload preferences API route are translated and it might cause some problems afterwards.

GET /api/payload-preferences/collapsed-Globální-groups 200 in 114ms
GET /api/payload-preferences/collapsed-Kolekce-groups 200 in 144ms
The route is translated in the same way as in the sidebar, but it should not (Refer to the picture)
EDzqmV0

I believe that the translated name for collections and globals is getting into this function.:
packages/ui/src/elements/NavGroup/index.tsx#L26C3-L26C53

To Reproduce

  • Switch to any language other than English.
  • Run the application on localhost
  • Try changing user preferences

Payload Version

3.0.0-beta.19

Adapters and Plugins

No response

@MrFriggo MrFriggo added the [possible-bug] Possible bug which hasn't been reproduced yet label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[possible-bug] Possible bug which hasn't been reproduced yet
Projects
None yet
Development

No branches or pull requests

1 participant