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 mission runner page refresh race condition. #2431

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ira-peach
Copy link

Description

The Vue container in Active.vue was trying to use the MissionStore before it fully loaded, resulting in it being undefined. This adds a condition on the container to see if there is an active mission that is truthy and displays the content if it is.

If there are active missions in the store, but there are none found (e.g. the UUID for the active mission is invalid in the route path), then it will display an error message.

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Issue Number

unknown if any

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

The Vue container in Active.vue was trying to use the MissionStore
before it fully loaded, resulting in it being undefined.  This adds a
condition on the container to see if there is an active mission that is
truthy and displays the content if it is.

If there are active missions in the store, but there are none found
(e.g. the UUID for the active mission is invalid in the route path),
then it will display an error message.
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

Successfully merging this pull request may close these issues.

None yet

1 participant