-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Admin UI: Metrics widget doesn't show numbers on hover: Invalid language tag: en-
#2896
Comments
From the error message, it appears that the error originates on this line const locale = `${uiState.language}-${uiState.locale}`; and In fact, I'm not even sure how you get into this state under normal usage, because even if no "defaultLocale" is set, then the Admin UI should take the locale from the browser: vendure/packages/admin-ui/src/lib/core/src/common/utilities/get-default-ui-language.ts Line 13 in b5cdbce
Can you provide any more context around how to reproduce this? I'm unable to. |
@michaelbromley I am using Brave browser, but without the built-in JS blocker (disabled it for the Vendure admin). It should be Chrome basicly, but maybe they do hide somet locale info or something? I will look into it This issue occurs on all my client's dashboards, without doing anything weird:
Firefox works fine. |
Although this might not be expected output, it is valid according to its specs:
|
Describe the bug
The metrics chart isn't showing the values (€) on hover.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: