Skip to content

Conversation

david-crespo
Copy link
Collaborator

#2156 revealed an existing bug (not sure why it was working before!) where we try to call both onSuccess and onDelete on successful instance delete. Once the bug started happening, onSuccess meant that we'd try to navigate to instance detail after deleting that instance, which 404s. This fixes it so we only call onDelete on successful delete, which takes us back to the instance list. I also added a test that would have caught this, and added an onDelete to instances list which refreshes the list.

Copy link

vercel bot commented Apr 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
console ✅ Ready (Inspect) Visit Preview Apr 18, 2024 9:02pm

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.

1 participant