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(web): prevent fetching asset info twice #8486

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

michelheusschen
Copy link
Contributor

Asset data is preloaded in the assetViewingStore, while it's already available in the AssetStore. This PR uses the data from the asset store instead of fetching it again.

Copy link
Member

@danieldietzler danieldietzler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@jrasm91 jrasm91 merged commit 66650f5 into main Apr 4, 2024
24 of 25 checks passed
@jrasm91 jrasm91 deleted the fix/web-prvent-fetching-asset-info-twice branch April 4, 2024 01:20
@chodthewacko
Copy link

I'm wondering if there is a glitch with this fix, because i'm semi frequently seeing incorrect stuff that seem to be cache errors.
Examples:
picture -> info: shows a face but the name is wrong on the face. I click on the face, and the "face's page" opens up and the name is correct there.

Every now and then, a page for a named face will open, and the number of shown under the name is wrong. I'll then refresh and go back to that page, and it'll be correct the second time.

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

Successfully merging this pull request may close these issues.

4 participants