Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

Fix: debounce of dataset creation (#1237)

KVOJJJinfd3d43cae14a
diff --git a/web/app/components/datasets/create/step-two/index.tsx b/web/app/components/datasets/create/step-two/index.tsx
index 99e7213373d..2d1bda399ec 100644
--- a/web/app/components/datasets/create/step-two/index.tsx
+++ b/web/app/components/datasets/create/step-two/index.tsx
@@ -319,6 +319,9 @@ const StepTwo = ({
}
const createHandle = async () => {
+ if (isCreating)
+ return
+ setIsCreating(true)
try {
let res
const params = getCreationParams()