fix(web): avoid crypto.randomUUID outside secure contexts

Closes #9306
This commit is contained in:
t8y2 authored and GitHub committed 2026-09-17 00:13:29 +08:00
1 parent 2c97e44d82
commit d35d578b03
14 files changed
+88 -23

No files matched your search

+1 -1
View File
@@ -3527,7 +3527,7 @@ export const useQueryStore = defineStore("query", () => {
connectionId,
providerId,
connectionType: connection.plugin_connection_type,
workbenchId: crypto.randomUUID(),
workbenchId: uuid(),
connection: {
id: connection.id,
name: connection.name,