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(spa): environment not loaded in app module #692

Merged
merged 2 commits into from
Feb 19, 2024

Conversation

timonmasberg
Copy link
Member

Description

Since we import the App Module before assigning the environment, the values from the config.json are not applied in time. This PR imports the App Module dynamically and adds a simple loading indicator.

Checklist:

  • The title of this PR and the commit history is conform with
    the Conventional Commits specification.
  • I have performed a self-review of my own code.
  • My changes generate no new warnings, SonarCloud reports no Vulnerabilities, Bugs or Code Smells.
  • The PR branch is up-to-date with the base branch. In case you merged main into your feature branch, make sure you have run the latest NX migrations (nx migrate --run-migrations).

@timonmasberg timonmasberg requested a review from JSPRH February 19, 2024 11:48
@timonmasberg timonmasberg self-assigned this Feb 19, 2024
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@timonmasberg timonmasberg merged commit a70bcb6 into main Feb 19, 2024
6 checks passed
@timonmasberg timonmasberg deleted the fix/environment-not-loaded branch February 19, 2024 12:12
@timonmasberg
Copy link
Member Author

🎉 This PR is included in version 1.3.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants