mirror of
https://github.com/supabase/supabase.git
synced 2026-10-18 23:59:08 +03:00
fix(sql-editor): put ai title gen behind feature/hipaa flags
This commit is contained in:
1 parent
a6c872d5dd
commit
86a5ef8f2e
1 file changed
+5
-1
@@ -222,7 +222,11 @@ const SQLEditor = () => {
|
||||
return
|
||||
}
|
||||
|
||||
if (snippet?.snippet.name === untitledSnippetTitle) {
|
||||
if (
|
||||
supabaseAIEnabled &&
|
||||
!isHipaaSubscription &&
|
||||
snippet?.snippet.name === untitledSnippetTitle
|
||||
) {
|
||||
// Intentionally don't await title gen (lazy)
|
||||
setAiTitle(id, sql)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user