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

globalApp as global mixin does not contain latest state #1087

Open
tonydisera opened this issue Aug 6, 2024 · 0 comments
Open

globalApp as global mixin does not contain latest state #1087

tonydisera opened this issue Aug 6, 2024 · 0 comments
Assignees
Milestone

Comments

@tonydisera
Copy link
Collaborator

tonydisera commented Aug 6, 2024

Navigation.vue relies on globalApp to get the geneinfo service URL. This field initialized in GeneHome, but Navigation.vue shows geneinfoServer set to null. For now, the workaround is to use cohortModel.globalApp instead. My guess is that Vue.js makes a copy of global app when the mixin is created, so any updates to the class made after Vue.js has made the copy are not reflected in the state of the global property available to all Vue.js components.

@tonydisera tonydisera added this to the 4.12 milestone Aug 6, 2024
@tonydisera tonydisera self-assigned this Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant