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: knowledge save button visible (#6905)

zxhlyhe68346141623
diff --git a/web/app/components/datasets/settings/form/index.tsx b/web/app/components/datasets/settings/form/index.tsx
index 7b007f8dd0b..f7519248e63 100644
--- a/web/app/components/datasets/settings/form/index.tsx
+++ b/web/app/components/datasets/settings/form/index.tsx
@@ -264,20 +264,18 @@ const Form = () => {
)}
</div>
</div>
- {currentDataset?.embedding_available && (
- <div className={rowClass}>
- <div className={labelClass} />
- <div className='w-[480px]'>
- <Button
- className='min-w-24'
- variant='primary'
- onClick={handleSave}
- >
- {t('datasetSettings.form.save')}
- </Button>
- </div>
+ <div className={rowClass}>
+ <div className={labelClass} />
+ <div className='w-[480px]'>
+ <Button
+ className='min-w-24'
+ variant='primary'
+ onClick={handleSave}
+ >
+ {t('datasetSettings.form.save')}
+ </Button>
</div>
- )}
+ </div>
</div>
)
}