Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: clear panel key state when changing compute addon

Kevin Grüneberg8dc744e0f84a
diff --git a/studio/components/interfaces/BillingV2/Subscription/AddOns/ComputeInstanceSidePanel.tsx b/studio/components/interfaces/BillingV2/Subscription/AddOns/ComputeInstanceSidePanel.tsx
index 2fd7a41e0a9..a31e8e4ec2c 100644
--- a/studio/components/interfaces/BillingV2/Subscription/AddOns/ComputeInstanceSidePanel.tsx
+++ b/studio/components/interfaces/BillingV2/Subscription/AddOns/ComputeInstanceSidePanel.tsx
@@ -82,6 +82,7 @@ const ComputeInstanceSidePanel = () => {
message: `Successfully updated compute instance to ${selectedCompute?.name}. Your project is currently being restarted to update its instance`,
})
app.onProjectStatusUpdated(projectId, PROJECT_STATUS.RESTORING)
+ onClose()
router.push(`/project/${projectRef}`)
} catch (error: any) {
ui.setNotification({