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

V2: Stuck on second page of blueprints when you delete all of them #2007

Open
jrusz opened this issue Apr 26, 2024 · 2 comments
Open

V2: Stuck on second page of blueprints when you delete all of them #2007

jrusz opened this issue Apr 26, 2024 · 2 comments

Comments

@jrusz
Copy link
Collaborator

jrusz commented Apr 26, 2024

When you have over 10 blueprints and click on the next page, delete all of the ones you see you then get stuck on that page with no way to go back and you have to refresh.

image

@lucasgarfield
Copy link
Collaborator

Nice catch. I think we need to reset the page to page 1 any time we change the view.

@lucasgarfield
Copy link
Collaborator

lucasgarfield commented Apr 26, 2024

Actually, disregard my previous comment. This actually seems like it is a tag invalidation issue. Upon deleting a blueprint, we should to invalidate the tag for the query is responsible for populating the blueprint card sidebar.

edit: I just checked and getBlueprints provides the tag Blueprints and deleteBlueprint invalidates that tag. So tag invalidation may not be the issue. 🤔

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

2 participants