Skip to content

settings/tokens: Make sure to always reload API tokens from the server #6449

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

Merged
merged 1 commit into from
May 8, 2023

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented May 8, 2023

Previously, Ember Data would perform a background reload of the tokens on the server, but that is apparently not compatible with our usage of TrackedArray so the list would not update correctly.

Fortunately, we can use reload: true to force Ember Data to reload the list of tokens from the server in the model() hook.

@Turbo87 Turbo87 added C-bug 🐞 Category: unintended, undesired behavior A-frontend 🐹 labels May 8, 2023
@Turbo87 Turbo87 enabled auto-merge (squash) May 8, 2023 09:29
@Turbo87 Turbo87 merged commit 3b3d6bd into rust-lang:master May 8, 2023
@Turbo87 Turbo87 deleted the reload-tokens branch May 8, 2023 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-frontend 🐹 C-bug 🐞 Category: unintended, undesired behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant