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

Ensure the region feature works in the key messages for NS and in the api call #144

Open
ezesanchez opened this issue Feb 10, 2025 · 1 comment
Assignees
Milestone

Comments

@ezesanchez
Copy link

No description provided.

@ezesanchez
Copy link
Author

When regions were created without a selected language, they were not visible because they lacked translations.
To determine the current languages, they are retrieved when the fetchContent action from Vuex is called. This action uses the getAvailableLanguages API call for the Instruction model, which fetches data from the whatnow_entity_translation. Therefore, if the NS does not have any messages, it does not have available languages.
@l-dufour has set English as the default language when NS does not have any available languages.

Global states into “content“ vuex module:

Image

Image

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants