Skip to content

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

Disable debug button if running

Joshen Limdfc8793eb3bd
diff --git a/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityTabResults.tsx b/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityTabResults.tsx
index 1df5e4a7bf8..95d7288344b 100644
--- a/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityTabResults.tsx
+++ b/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityTabResults.tsx
@@ -77,7 +77,7 @@ const UtilityTabResults = ({ id, isExecuting }: UtilityTabResultsProps) => {
<AiIconAnimation className="w-3 h-3" loading={isDebugSqlLoading} />
</div>
}
- disabled={!!sqlDiff}
+ disabled={!!sqlDiff || isDebugSqlLoading}
onClick={async () => {
try {
const { solution, sql } = await debugSql({