mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-05-06 02:07:49 +08:00
Fix: Fixed an issue where the agent could not publish. (#13644)
### What problem does this PR solve? Fix: Fixed an issue where the agent could not publish. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -74,7 +74,7 @@ export function PublishConfirmDialog({
|
|||||||
return formatDate(agentDetail.last_publish_time);
|
return formatDate(agentDetail.last_publish_time);
|
||||||
}
|
}
|
||||||
return '';
|
return '';
|
||||||
}, [agentDetail?.update_time]);
|
}, [agentDetail.last_publish_time]);
|
||||||
|
|
||||||
// Get datasets associated with this pipeline from API response
|
// Get datasets associated with this pipeline from API response
|
||||||
const associatedDatasets = useMemo(() => {
|
const associatedDatasets = useMemo(() => {
|
||||||
@ -84,7 +84,7 @@ export function PublishConfirmDialog({
|
|||||||
const handleConfirmPublish = useCallback(() => {
|
const handleConfirmPublish = useCallback(() => {
|
||||||
onPublish();
|
onPublish();
|
||||||
setOpen(false);
|
setOpen(false);
|
||||||
}, []);
|
}, [onPublish]);
|
||||||
|
|
||||||
if (isPipeline) {
|
if (isPipeline) {
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user